diff options
author | Martijn Hoekstra <MartijnHoekstra@gmail.com> | 2016-09-08 12:25:13 +0200 |
---|---|---|
committer | Martijn Hoekstra <MartijnHoekstra@gmail.com> | 2016-09-08 12:32:47 +0200 |
commit | 46b325373c8ec516be2b6b1c6024ae1c783fbc8f (patch) | |
tree | ce85631f6aae35632824b04cae558f6088e2af0b /test/test/CompilerTest.scala | |
parent | 32819e2edc88dd06095704c04ed9c2dd0603386f (diff) | |
download | dotty-46b325373c8ec516be2b6b1c6024ae1c783fbc8f.tar.gz dotty-46b325373c8ec516be2b6b1c6024ae1c783fbc8f.tar.bz2 dotty-46b325373c8ec516be2b6b1c6024ae1c783fbc8f.zip |
test negtest path with / rather than path separator
Diffstat (limited to 'test/test/CompilerTest.scala')
-rw-r--r-- | test/test/CompilerTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/CompilerTest.scala b/test/test/CompilerTest.scala index 6bd5f7030..dea6a30b1 100644 --- a/test/test/CompilerTest.scala +++ b/test/test/CompilerTest.scala @@ -228,7 +228,7 @@ abstract class CompilerTest { private def expectedErrors(filePath: String): List[ErrorsInFile] = expectedErrors(List(filePath)) - private def isNegTest(testPath: String) = testPath.contains(JFile.separator + "neg" + JFile.separator) + private def isNegTest(testPath: String) = testPath.contains("/neg/") private def compileArgs(args: Array[String], expectedErrorsPerFile: List[ErrorsInFile]) (implicit defaultOptions: List[String]): Unit = { |