Skip to content

Commit 2b1fa9c

Browse files
committed
Update expected error message
I believe this change is due to the change of test suite
1 parent 93d6f28 commit 2b1fa9c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/test/kotlin/io/github/orangain/jsonmatch/AssertionTest.kt

+1-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ class AssertionTest {
4343
JsonStringAssert.assertThat("""{"foo": "bar"}""").jsonMatches("""{ "foo": "#null" }""")
4444
}.isInstanceOf(AssertionError::class.java).hasMessage(
4545
"""
46-
path: $.foo, actual: "bar", expected: "#null", reason: not-null expected:<"{
47-
"foo" : "[#null]"
48-
}"> but was:<"{
49-
"foo" : "[bar]"
50-
}">
46+
path: $.foo, actual: "bar", expected: "#null", reason: not-null
5147
""".trimIndent()
5248
)
5349
}

0 commit comments

Comments
 (0)