You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Davide Angelocola (Jira)" <ji...@apache.org> on 2021/09/01 18:23:00 UTC
[jira] [Created] (IO-745) wrong assertNotNull
Davide Angelocola created IO-745:
------------------------------------
Summary: wrong assertNotNull
Key: IO-745
URL: https://issues.apache.org/jira/browse/IO-745
Project: Commons IO
Issue Type: Test
Affects Versions: 2.11.0
Reporter: Davide Angelocola
Greetings from long time user of this library :)
Intellij spotted this small error in *LineIteratorTestCase*:
{code:java}
assertNotNull("Line expected", iterator.next());
assertTrue(iterator.hasNext(), "More expected"); {code}
*assertNotNull* is using "Line expected" as actual parameter.
The right order is given in the next *assertTrue* method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)