Skip to content

Commit f3a72f2

Browse files
committed
Fix coursier test
1 parent 12eeb9f commit f3a72f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/test-coursier/dotty/tools/coursier/CoursierScalaTests.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ class CoursierScalaTests:
5353
scriptArgs()
5454

5555
def scriptPath() =
56-
val scriptPath = scripts("/scripting").find(_.getName == "showArgs.sc").get.absPath
56+
val scriptPath = scripts("/scripting").find(_.getName == "scriptPath.sc").get.absPath
5757
val args = scriptPath
58-
val output = CoursierScalaTests.csCmd(args*)
59-
assertTrue(output.startsWith("script.path:"))
58+
val output = CoursierScalaTests.csCmd(args)
59+
assertTrue(output.mkString("\n").startsWith("script.path:"))
6060
scriptPath()
6161

6262
def version() =

0 commit comments

Comments
 (0)