File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
testlib/src/test/java/com/diffplug/spotless/npm Expand file tree Collapse file tree 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 {
111111 npmPathResolver (),
112112 new PrettierConfig (null , ImmutableMap .of ("parser" , "postcss" )));
113113 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\" )" );
116116 }
117117 }
118118 }
You can’t perform that action at this time.
0 commit comments