Fix typos in JsonContentAssert failure messages

Closes gh-15752
pull/15770/head
Johnny Lim 6 years ago committed by Andy Wilkinson
parent 4167d6d475
commit 3744082996

@ -96,7 +96,8 @@ public class JsonContentAssert extends AbstractAssert<JsonContentAssert, CharSeq
if (expected instanceof Resource) {
return isEqualToJson((Resource) expected);
}
throw new AssertionError("Unsupport type for JSON assert " + expected.getClass());
throw new AssertionError(
"Unsupported type for JSON assert " + expected.getClass());
}
/**
@ -432,7 +433,8 @@ public class JsonContentAssert extends AbstractAssert<JsonContentAssert, CharSeq
if (expected instanceof Resource) {
return isNotEqualToJson((Resource) expected);
}
throw new AssertionError("Unsupport type for JSON assert " + expected.getClass());
throw new AssertionError(
"Unsupported type for JSON assert " + expected.getClass());
}
/**

Loading…
Cancel
Save