Skip to content

Commit 2cb147a

Browse files
committed
Merge branch '2.1.x'
2 parents f23a0a5 + acf9e8a commit 2cb147a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/json/JsonContentAssert.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -97,7 +97,7 @@ public JsonContentAssert isEqualTo(Object expected) {
9797
if (expected instanceof Resource) {
9898
return isEqualToJson((Resource) expected);
9999
}
100-
failWithMessage("Unsupport type for JSON assert {}", expected.getClass());
100+
failWithMessage("Unsupported type for JSON assert {}", expected.getClass());
101101
return null;
102102
}
103103

@@ -434,7 +434,7 @@ public JsonContentAssert isNotEqualTo(Object expected) {
434434
if (expected instanceof Resource) {
435435
return isNotEqualToJson((Resource) expected);
436436
}
437-
failWithMessage("Unsupported type for JSON assert {]", expected.getClass());
437+
failWithMessage("Unsupported type for JSON assert {}", expected.getClass());
438438
return null;
439439
}
440440

0 commit comments

Comments
 (0)