Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-745

wrong assertNotNull

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.12.0
    • None
    • None

    Description

      Greetings from long time user of this library 

      Intellij spotted this small error in LineIteratorTestCase:

      assertNotNull("Line expected", iterator.next());
      assertTrue(iterator.hasNext(), "More expected"); 

      assertNotNull is using "Line expected" as actual parameter.

      The right order is given in the next assertTrue method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dfa Davide Angelocola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: