Skip to content

Commit 01537fc

Browse files
committed
Disable some scala3doc tests in Windows CI
1 parent 40b05e9 commit 01537fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scala3doc/test/dotty/dokka/SignatureTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract class SignatureTest(
2222
filterFunc: (Path) => Boolean = _ => true
2323
) extends ScaladocTest(testName):
2424

25-
def runTest = afterRendering {
25+
def runTest = { org.junit.Assume.assumeTrue("Running on Windows", java.io.File.separatorChar == '/'); afterRendering {
2626
val sources = sourceFiles match
2727
case Nil => testName :: Nil
2828
case s => s
@@ -65,7 +65,7 @@ abstract class SignatureTest(
6565
reportError(errorMessage)
6666
end if
6767

68-
} :: Nil
68+
} :: Nil }
6969

7070
// e.g. to remove '(0)' from object IAmACaseObject extends CaseImplementThis/*<-*/(0)/*->*/
7171
private val commentRegex = raw"\/\*<-\*\/[^\/]+\/\*->\*\/".r

0 commit comments

Comments
 (0)