Skip to content

Commit 245072f

Browse files
som-snytttgodzik
authored andcommitted
Fix test
1 parent cdafa86 commit 245072f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/test/dotty/tools/utils.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ def toolArgsParse(lines: List[String], filename: Option[String]): List[(String,S
101101
case toolArg(name, args) => List((name, args))
102102
case _ => Nil
103103
} ++
104-
lines.flatMap {
104+
lines.flatMap {
105105
case directiveOptionsArg(args) => List(("scalac", args))
106106
case directiveJavacOptions(args) => List(("javac", args))
107-
case _ => Nil
107+
case _ => Nil
108108
}
109109

110110
import org.junit.Test

tests/warn/i18564.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
//> using option -Wunused:imports
2+
//> using options -Wunused:imports
33

44
import scala.compiletime.*
55
import scala.deriving.*

0 commit comments

Comments
 (0)