Skip to content

Commit 501625e

Browse files
author
Jaden Peterson
committed
fixup! 8db5a51 Fixed failing test
1 parent acc31b2 commit 501625e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/io/bazel/rulesscala/specs2/Specs2RunnerBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,6 @@ class FilteredSpecs2ClassRunner(parentRunner: org.specs2.runner.JUnitRunner, tes
179179
private implicit class `Collection Regex Extensions`(coll: List[String]) {
180180
def toRegexAlternation: Option[String] =
181181
if (coll.isEmpty) None
182-
else Some(coll.map(_.toQuotedRegex).mkString("(", "|", ")"))
182+
else Some(coll.map(_.toQuotedRegex).mkString("^(", "|", ")$"))
183183
}
184184
}

0 commit comments

Comments
 (0)