Commit 37440829 authored by Johnny Lim's avatar Johnny Lim Committed by Andy Wilkinson

Fix typos in JsonContentAssert failure messages

Closes gh-15752
parent 4167d6d4
...@@ -96,7 +96,8 @@ public class JsonContentAssert extends AbstractAssert<JsonContentAssert, CharSeq ...@@ -96,7 +96,8 @@ public class JsonContentAssert extends AbstractAssert<JsonContentAssert, CharSeq
if (expected instanceof Resource) { if (expected instanceof Resource) {
return isEqualToJson((Resource) expected); 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 ...@@ -432,7 +433,8 @@ public class JsonContentAssert extends AbstractAssert<JsonContentAssert, CharSeq
if (expected instanceof Resource) { if (expected instanceof Resource) {
return isNotEqualToJson((Resource) expected); return isNotEqualToJson((Resource) expected);
} }
throw new AssertionError("Unsupport type for JSON assert " + expected.getClass()); throw new AssertionError(
"Unsupported type for JSON assert " + expected.getClass());
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment