Skip to content

Commit c64662f

Browse files
hosamalyandyglow
authored andcommitted
In the ScalaTest matcher, show the actual value first (#7)
1 parent 4cf0dca commit c64662f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

β€Žsrc/main/scala/org/scalatest/xml/XmlMatchers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trait XmlMatchers {
2828
val res = if(ignoreWhitespace) (e =#= a).successful else (e =?= a).successful
2929
MatchResult(
3030
res,
31-
s"""$e isn't equal to $a""",
31+
s"""$a was not equal to $e""",
3232
s"""both xml are equal""")
3333
}
3434
}

0 commit comments

Comments
 (0)