Skip to content

Commit 87236d4

Browse files
committed
chore: disable some of the tests
1 parent 44574ce commit 87236d4

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,15 @@ class CompilationTests {
214214
)
215215
}.checkExpectedErrors()
216216

217-
@Test def explicitNullsPos: Unit = {
217+
@Test def explicitNullsPos: Unit =
218218
implicit val testGroup: TestGroup = TestGroup("explicitNullsPos")
219-
aggregateTests(
220-
compileFilesInDir("tests/explicit-nulls/pos", explicitNullsOptions),
221-
compileFilesInDir("tests/explicit-nulls/flexible-types-common", explicitNullsOptions),
222-
compileFilesInDir("tests/explicit-nulls/unsafe-common", explicitNullsOptions and "-language:unsafeNulls" and "-Yno-flexible-types"),
223-
)
224-
}.checkCompile()
219+
if !Properties.usingFullScalaLibrary then
220+
aggregateTests(
221+
compileFilesInDir("tests/explicit-nulls/pos", explicitNullsOptions),
222+
compileFilesInDir("tests/explicit-nulls/flexible-types-common", explicitNullsOptions),
223+
compileFilesInDir("tests/explicit-nulls/unsafe-common", explicitNullsOptions and "-language:unsafeNulls" and "-Yno-flexible-types"),
224+
).checkCompile()
225+
end explicitNullsPos
225226

226227
@Test def explicitNullsWarn: Unit = {
227228
implicit val testGroup: TestGroup = TestGroup("explicitNullsWarn")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)