You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/json/JsonContentAssert.java
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2018 the original author or authors.
2
+
* Copyright 2012-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -96,7 +96,8 @@ public JsonContentAssert isEqualTo(Object expected) {
96
96
if (expectedinstanceofResource) {
97
97
returnisEqualToJson((Resource) expected);
98
98
}
99
-
thrownewAssertionError("Unsupport type for JSON assert " + expected.getClass());
99
+
thrownewAssertionError(
100
+
"Unsupported type for JSON assert " + expected.getClass());
100
101
}
101
102
102
103
/**
@@ -432,7 +433,8 @@ public JsonContentAssert isNotEqualTo(Object expected) {
432
433
if (expectedinstanceofResource) {
433
434
returnisNotEqualToJson((Resource) expected);
434
435
}
435
-
thrownewAssertionError("Unsupport type for JSON assert " + expected.getClass());
436
+
thrownewAssertionError(
437
+
"Unsupported type for JSON assert " + expected.getClass());
0 commit comments