Skip to content

Commit 566d903

Browse files
committed
Merge branch 'feature-fix-testng-cmd-ln-arg-2'
2 parents 8b1f370 + de71199 commit 566d903

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/scalatest/tools/maven/AbstractScalaTestMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ private List<String> wildcardSuites() {
561561
}
562562

563563
private List<String> testNGConfigFiles() {
564-
return suiteArg("-t", testNGConfigFiles);
564+
return suiteArg("-b", testNGConfigFiles);
565565
}
566566

567567
private List<String> memoryFiles() {

src/test/scala/org/scalatest/tools/maven/PluginTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ final class PluginTest
168168
}
169169

170170
def testTestNGs {
171-
configure(_.testNGConfigFiles = comma("a", "b", "c")) should containSuiteArgs("-t", "a", "b", "c")
171+
configure(_.testNGConfigFiles = comma("a", "b", "c")) should containSuiteArgs("-b", "a", "b", "c")
172172
}
173173

174174
def testJUnits {

0 commit comments

Comments
 (0)