assertj: AssertJ 3.27.7 lab (soft assertions, recursive comparison, custom and generated assertions)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
containsExactly, wrong order:
|
||||
Expecting actual:
|
||||
["BOOK-1", "PEN-7", "BAG-3"]
|
||||
to contain exactly (and in same order):
|
||||
["PEN-7", "BOOK-1", "BAG-3"]
|
||||
but there were differences at these indexes:
|
||||
- element at index 0: expected "PEN-7" but was "BOOK-1"
|
||||
- element at index 1: expected "BOOK-1" but was "PEN-7"
|
||||
containsExactlyInAnyOrder, one missing and one unexpected:
|
||||
Expecting actual:
|
||||
["BOOK-1", "PEN-7", "BAG-3"]
|
||||
to contain exactly in any order:
|
||||
["BOOK-1", "PEN-7", "HAT-9"]
|
||||
elements not found:
|
||||
["HAT-9"]
|
||||
and elements not expected:
|
||||
["BAG-3"]
|
||||
Reference in New Issue
Block a user