Skip to content

Decide how to report 'unexpected' and 'actual' values in an exception #282

@marcphilipp

Description

@marcphilipp

This is a follow-up on #138 where we used new AssertionFailedError(message, expected, actual) to pass expected and actual for assertEquals, assertSame, and assertNull.

However, we should consider passing unexpected and actual for

  • Assertions.assertNotEquals
  • Assertions.assertNotSame (hmm... unexpected == actual in this case)
  • Assertions.assertNotNull (just actual?)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions