clear-input takes two args instead of one.
Describe the bug
clear-input
accepts two args, but the spec says it takes exactly one
optional arg for the stream.
To Reproduce
Steps to reproduce the behavior:
(clear-input *standard-input* nil)
- This does not signal an error like it should.
Expected behavior
This is basically the same issue as #143 (closed), except it's for
clear-input
instead of listen.
Presumably the same kind of
solution can be used.
Desktop (please complete the following information):
- OS: All
- Version: 21e (and earlier)
Additional context
This is from the
ansi-tests named
CLEAR-INPUT.ERROR.1
and
CLEAR-INPUT.ERROR.2
.
But note also that these tests are marked with the note
:assume-no-simple-streams
. So we could easily fix the test failures
by disabling this note in the tests which would mean these tests would
not be run at all.