File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/src/test/java/com/diffplug/spotless/cli/steps Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1919import java .io .IOException ;
2020
2121import org .junit .jupiter .api .Test ;
22+ import org .junit .jupiter .api .condition .DisabledOnOs ;
2223
2324import com .diffplug .spotless .cli .CLIIntegrationHarness ;
2425import com .diffplug .spotless .cli .SpotlessCLIRunner ;
2728import com .diffplug .spotless .tag .NpmTest ;
2829
2930import static org .assertj .core .api .Assertions .assertThat ;
31+ import static org .junit .jupiter .api .condition .OS .WINDOWS ;
3032
3133@ NpmTest
3234@ CliProcessNpmTest
@@ -101,6 +103,7 @@ void itUsesACacheDir() throws IOException {
101103 }
102104
103105 @ Test
106+ @ DisabledOnOs (WINDOWS )
104107 void itUsesNpmExec () {
105108 setFile ("test.ts" ).toResource ("npm/prettier/config/typescript.dirty" );
106109 File npmOut = newFile ("npmoutput.txt" );
@@ -139,6 +142,7 @@ void itUsesNpmExec() {
139142 }
140143
141144 @ Test
145+ @ DisabledOnOs (WINDOWS )
142146 void itUsesNodeExec () {
143147 setFile ("test.ts" ).toResource ("npm/prettier/config/typescript.dirty" );
144148 File npmOut = newFile ("npmoutput.txt" );
You can’t perform that action at this time.
0 commit comments