Fix some Asserts failure messages

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: core-libs
    • b04

      When Asserts.assertNotEquals(12345, 12345) fails, it now says "expected 12345 to not equal 12345". Obviously there is no need to repeat "12345". Same for assertNotEqualsByteArray.

      Asserts.assertEqualsByteArray method uses the words "expected... to equal...". Other methods use "expected... but was...". Just follow the other methods.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: