This commit is contained in:
Phillip Webb
2019-07-14 20:32:49 +01:00
parent 01933f9b06
commit 0cb6a7f47d
5 changed files with 42 additions and 48 deletions

View File

@@ -42,8 +42,7 @@ public class DuplicateJsonObjectContextCustomizerFactoryTests {
public void warningForMultipleVersions() {
new DuplicateJsonObjectContextCustomizerFactory().createContextCustomizer(null, null).customizeContext(null,
null);
assertThat(this.output.toString())
.contains("Found multiple occurrences of org.json.JSONObject on the class path:");
assertThat(this.output).contains("Found multiple occurrences of org.json.JSONObject on the class path:");
}
}