File tree 1 file changed +2
-2
lines changed
testlib/src/test/java/com/diffplug/spotless/npm
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ void verifyPrettierErrorMessageIsRelayed() throws Exception {
111
111
npmPathResolver (),
112
112
new PrettierConfig (null , ImmutableMap .of ("parser" , "postcss" )));
113
113
try (StepHarnessWithFile stepHarness = StepHarnessWithFile .forStep (this , formatterStep )) {
114
- stepHarness .testResourceExceptionMsg ("npm/prettier/filetypes/scss/scss.dirty" ).startsWith (
115
- "com.diffplug.spotless.npm.SimpleRestClient$SimpleRestResponseException: Unexpected response status code at /prettier/format [HTTP 501] -- (Error while formatting: Error: Couldn't resolve parser \" postcss\" )" );
114
+ stepHarness .testResourceExceptionMsg ("npm/prettier/filetypes/scss/scss.dirty" ).isEqualTo (
115
+ "Unexpected response status code at /prettier/format [HTTP 501] -- (Error while formatting: Error: Couldn't resolve parser \" postcss\" )" );
116
116
}
117
117
}
118
118
}
You can’t perform that action at this time.
0 commit comments