Skip to content

Commit 0c44b9b

Browse files
smarterfelixmulder
authored andcommitted
Fix compileMixed test
1 parent 0fb6cf6 commit 0c44b9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class tests extends CompilerTest {
224224
|../scala2-library/src/library/scala/package.scala
225225
|../scala2-library/src/library/scala/collection/GenSeqLike.scala
226226
|../scala2-library/src/library/scala/collection/SeqLike.scala
227-
|../scala2-library/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin)
227+
|../scala2-library/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin)(scala2mode ++ defaultOptions)
228228
@Test def compileIndexedSeq = compileLine("../scala2-library/src/library/scala/collection/immutable/IndexedSeq.scala")
229229
@Test def compileParSetLike = compileLine("../scala2-library/src/library/scala/collection/parallel/mutable/ParSetLike.scala")
230230
@Test def compileParSetSubset = compileLine(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class CompilationTests extends ParallelTesting {
5757
"../scala2-library/src/library/scala/collection/SeqLike.scala",
5858
"../scala2-library/src/library/scala/collection/generic/GenSeqFactory.scala"
5959
),
60-
defaultOptions
60+
scala2Mode
6161
) +
6262
compileFilesInDir("../tests/pos-special/spec-t5545", defaultOptions) +
6363
compileFilesInDir("../tests/pos-special/strawman-collections", defaultOptions) +

0 commit comments

Comments
 (0)