Skip to content

Commit 8459534

Browse files
committed
Yet another attempt to fix the broken test.
1 parent 2f8eacd commit 8459534

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected void writePomWithKotlinSteps(String... steps) throws IOException {
115115
}
116116

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

121121
protected void writePomWithTypescriptSteps(String... steps) throws IOException {

plugin-maven/src/test/java/com/diffplug/spotless/maven/generic/LicenseHeaderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public void fromFileJava() throws Exception {
3737
public void fromContentCpp() throws Exception {
3838
String cppLicense = "//my license";
3939
writePomWithCppSteps(
40+
"<includes><include>src/**</include></includes>",
4041
"<licenseHeader>",
4142
" <content>",
4243
cppLicense,

0 commit comments

Comments
 (0)