Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan committed Mar 12, 2024
1 parent c257479 commit f681c44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Different value found in node "$.test", expected: <2> but was: <1>."""
assertThrows<AssertionError> {
"""{"test": [1, 2, 3, 1]}""".inPath("test").shouldBeJsonArray().shouldNotContainDuplicates()
}
.shouldHaveMessage("""Collection should not contain duplicates""")
.shouldHaveMessage("""Collection should not contain duplicates, but has some: [1]""")
}

@Test
Expand Down

0 comments on commit f681c44

Please sign in to comment.