mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 19:15:29 -04:00
TMI-XXX: More leniency
This commit is contained in:
parent
e68b3aa9e3
commit
8c4f9d3ed6
@ -167,7 +167,7 @@ public abstract class InputStreamAbstractTestCase extends ObjectAbstractTestCase
|
|||||||
input.mark(100); // Should be a no-op
|
input.mark(100); // Should be a no-op
|
||||||
|
|
||||||
int read = input.read();
|
int read = input.read();
|
||||||
assertEquals(0, read);
|
assertTrue(read >= 0);
|
||||||
|
|
||||||
// TODO: According to InputStream#reset, it is allowed to do some
|
// TODO: According to InputStream#reset, it is allowed to do some
|
||||||
// implementation specific reset, and still be correct...
|
// implementation specific reset, and still be correct...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user