@@ -26,7 +26,7 @@ class VulpixUnitTests extends ParallelTesting {
26
26
// To fail with something else than an AssertionError
27
27
def fail (): Unit = throw new Exception (" didn't fail properly" )
28
28
29
- @ Test def missingFile : Unit = if ( ! scala.util. Properties .isWin)
29
+ @ Test def missingFile : Unit =
30
30
try {
31
31
compileFile(" tests/vulpix-tests/unit/i-dont-exist.scala" , defaultOptions).expectFailure.checkExpectedErrors()
32
32
fail()
@@ -64,7 +64,7 @@ class VulpixUnitTests extends ParallelTesting {
64
64
@ Test def runDiffOutput1 : Unit =
65
65
compileFile(" tests/vulpix-tests/unit/runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
66
66
67
- @ Test def runStackOverflow : Unit = if ( ! scala.util. Properties .isWin)
67
+ @ Test def runStackOverflow : Unit =
68
68
compileFile(" tests/vulpix-tests/unit/stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
69
69
70
70
@ Test def runOutRedirects : Unit =
@@ -82,15 +82,15 @@ class VulpixUnitTests extends ParallelTesting {
82
82
@ Test def deadlock : Unit =
83
83
compileFile(" tests/vulpix-tests/unit/deadlock.scala" , defaultOptions).expectFailure.checkRuns()
84
84
85
- @ Test def badJava : Unit = if ( ! scala.util. Properties .isWin)
85
+ @ Test def badJava : Unit =
86
86
try {
87
87
compileFile(" tests/vulpix-tests/unit/BadJava.java" , defaultOptions).suppressAllOutput.checkCompile()
88
88
fail()
89
89
} catch {
90
90
case ae : AssertionError => assertTrue(ae.getMessage.contains(" java compilation failed" ))
91
91
}
92
92
93
- @ Test def runTimeout : Unit = if ( ! scala.util. Properties .isWin) {
93
+ @ Test def runTimeout : Unit = {
94
94
val fileName = s " tests/vulpix-tests/unit/timeout.scala "
95
95
try {
96
96
compileFile(fileName, defaultOptions).checkRuns()
0 commit comments