mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix typos in JsonContentAssert failure messages
Closes gh-15752
This commit is contained in:
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…
Reference in New Issue
Block a user