Skip to content

Commit

Permalink
adapting test for new output format
Browse files Browse the repository at this point in the history
  • Loading branch information
simschla committed Jun 12, 2020
1 parent 6993d02 commit 73b6894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void recreate500InternalServerError() throws Exception {
new PrettierConfig(null, ImmutableMap.of("parser", "postcss")));
try (StepHarness stepHarness = StepHarness.forStep(formatterStep)) {
stepHarness.testException("npm/prettier/filetypes/scss/causes500error.dirty", exception -> {
exception.hasMessageStartingWith("500: Internal Server Error");
exception.hasMessageContaining("HTTP 501");
});
}
}
Expand Down

0 comments on commit 73b6894

Please sign in to comment.