Skip to content

Commit 59193db

Browse files
committed
Fix tests that depended on the default targets.
1 parent 3b98838 commit 59193db

File tree

2 files changed

+2
-44
lines changed

2 files changed

+2
-44
lines changed

plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationHarness.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ protected void writePomWithKotlinSteps(String... steps) throws IOException {
115115
}
116116

117117
protected void writePomWithCppSteps(String... steps) throws IOException {
118-
writePom(groupWithSteps("cpp", steps));
118+
writePom(groupWithSteps("cpp", including("**")), steps);
119119
}
120120

121121
protected void writePomWithTypescriptSteps(String... steps) throws IOException {
122-
writePom(groupWithSteps("typescript", steps));
122+
writePom(groupWithSteps("typescript", including("**/*.ts"), steps));
123123
}
124124

125125
protected void writePomWithPrettierSteps(String includes, String... steps) throws IOException {

plugin-maven/src/test/java/com/diffplug/spotless/maven/cpp/CppTest.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)