@@ -26,7 +26,7 @@ class VulpixUnitTests extends ParallelTesting {
2626 // To fail with something else than an AssertionError
2727 def fail (): Unit = throw new Exception (" didn't fail properly" )
2828
29- @ Test def missingFile : Unit = if ( ! scala.util. Properties .isWin)
29+ @ Test def missingFile : Unit =
3030 try {
3131 compileFile(" tests/vulpix-tests/unit/i-dont-exist.scala" , defaultOptions).expectFailure.checkExpectedErrors()
3232 fail()
@@ -64,7 +64,7 @@ class VulpixUnitTests extends ParallelTesting {
6464 @ Test def runDiffOutput1 : Unit =
6565 compileFile(" tests/vulpix-tests/unit/runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
6666
67- @ Test def runStackOverflow : Unit = if ( ! scala.util. Properties .isWin)
67+ @ Test def runStackOverflow : Unit =
6868 compileFile(" tests/vulpix-tests/unit/stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
6969
7070 @ Test def runOutRedirects : Unit =
@@ -82,15 +82,15 @@ class VulpixUnitTests extends ParallelTesting {
8282 @ Test def deadlock : Unit =
8383 compileFile(" tests/vulpix-tests/unit/deadlock.scala" , defaultOptions).expectFailure.checkRuns()
8484
85- @ Test def badJava : Unit = if ( ! scala.util. Properties .isWin)
85+ @ Test def badJava : Unit =
8686 try {
8787 compileFile(" tests/vulpix-tests/unit/BadJava.java" , defaultOptions).suppressAllOutput.checkCompile()
8888 fail()
8989 } catch {
9090 case ae : AssertionError => assertTrue(ae.getMessage.contains(" java compilation failed" ))
9191 }
9292
93- @ Test def runTimeout : Unit = if ( ! scala.util. Properties .isWin) {
93+ @ Test def runTimeout : Unit = {
9494 val fileName = s " tests/vulpix-tests/unit/timeout.scala "
9595 try {
9696 compileFile(fileName, defaultOptions).checkRuns()
0 commit comments