Skip to content

Commit b288948

Browse files
committed
Fix test suite to go deep in subdirectories.
1 parent 3e54380 commit b288948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test/CompilerTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CompilerTest extends DottyTest {
2424
compileDir(Directory(path), args, xerrors)
2525

2626
def compileDir(dir: Directory, args: List[String], xerrors: Int)(implicit defaultOptions: List[String]): Unit = {
27-
val fileNames = dir.files.toArray.map(_.toString).filter(_ endsWith ".scala")
27+
val fileNames = dir.deepFiles.toArray.map(_.toString).filter(_ endsWith ".scala")
2828
compileArgs(fileNames ++ args, xerrors)
2929
}
3030

0 commit comments

Comments
 (0)