Fix typos in JsonContentAssert failure messages
Closes gh-15752
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user