Skip to content

Commit 73b6894

Browse files
committedJun 12, 2020
adapting test for new output format
1 parent 6993d02 commit 73b6894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎testlib/src/test/java/com/diffplug/spotless/npm/PrettierFormatterStepTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void recreate500InternalServerError() throws Exception {
9797
new PrettierConfig(null, ImmutableMap.of("parser", "postcss")));
9898
try (StepHarness stepHarness = StepHarness.forStep(formatterStep)) {
9999
stepHarness.testException("npm/prettier/filetypes/scss/causes500error.dirty", exception -> {
100-
exception.hasMessageStartingWith("500: Internal Server Error");
100+
exception.hasMessageContaining("HTTP 501");
101101
});
102102
}
103103
}

0 commit comments

Comments
 (0)