TMI-XXX: More leniency

This commit is contained in:
Harald Kuhr 2013-01-31 14:49:27 +01:00
parent e68b3aa9e3
commit 8c4f9d3ed6

View File

@ -167,7 +167,7 @@ public abstract class InputStreamAbstractTestCase extends ObjectAbstractTestCase
input.mark(100); // Should be a no-op
int read = input.read();
assertEquals(0, read);
assertTrue(read >= 0);
// TODO: According to InputStream#reset, it is allowed to do some
// implementation specific reset, and still be correct...