Skip to content

Commit

Permalink
fix semantic merge conflict in partest
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Mar 13, 2023
1 parent ca4831f commit eb31270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partest/scala/tools/partest/nest/Runner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class Runner(val testInfo: TestInfo, val suiteRunner: AbstractRunner) {
// no spaces in test file paths below root, because otherwise how to detect end of path string?
val pathFinder = raw"""(?i)\Q${elided}${File.separator}\E([\${File.separator}\S]*)""".r
def canonicalize: String => String = {
val hiders = toolArgs("hide", split = false).map(_.r)
val hiders = toolArgs(ToolName.hide).map(_.r)
(s: String) => {
val pathless = pathFinder.replaceAllIn(s, m => Regex.quoteReplacement(ellipsis + squashSlashes(m.group(1))))
if (hiders.isEmpty) pathless
Expand Down

0 comments on commit eb31270

Please sign in to comment.