Skip to content

Commit

Permalink
fix scalameta#712: improve assertNotEquals failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
ekans committed Dec 17, 2023
1 parent 1dc63bc commit 1562fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion munit/shared/src/main/scala/munit/Assertions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ trait Assertions extends MacroCompat.CompileErrorMacro {
StackTraces.dropInside {
if (compare.isEqual(obtained, expected)) {
failComparison(
s"${munitPrint(clue)} expected same: $expected was not: $obtained",
s"${munitPrint(clue)}, expected 2 different values: $expected is equal to $obtained",
obtained,
expected
)
Expand Down

0 comments on commit 1562fb1

Please sign in to comment.