Skip to content

Commit 46b3253

Browse files
test negtest path with / rather than path separator
1 parent 32819e2 commit 46b3253

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
@@ -228,7 +228,7 @@ abstract class CompilerTest {
228228

229229
private def expectedErrors(filePath: String): List[ErrorsInFile] = expectedErrors(List(filePath))
230230

231-
private def isNegTest(testPath: String) = testPath.contains(JFile.separator + "neg" + JFile.separator)
231+
private def isNegTest(testPath: String) = testPath.contains("/neg/")
232232

233233
private def compileArgs(args: Array[String], expectedErrorsPerFile: List[ErrorsInFile])
234234
(implicit defaultOptions: List[String]): Unit = {

0 commit comments

Comments
 (0)