Skip to content

Commit 19e57a5

Browse files
committed
Drop outdated ReplCompilerTest
1 parent d443679 commit 19e57a5

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

compiler/test/dotty/tools/repl/ReplCompilerTests.scala

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -347,25 +347,6 @@ class ReplCompilerTests extends ReplTest:
347347
assertEquals("java.lang.AssertionError: assertion failed", all.head)
348348
}
349349

350-
@Test def i14491 =
351-
initially {
352-
run("import language.`3.3`")
353-
} andThen {
354-
run("""|val x = Seq(7,8,9).apply:
355-
| 1
356-
|""".stripMargin)
357-
assertEquals("val x: Int = 8", storedOutput().trim)
358-
}
359-
initially {
360-
run("import language.`3.2`")
361-
} andThen {
362-
run("""|val x = Seq(7,8,9).apply:
363-
| 1
364-
|""".stripMargin)
365-
assert("expected error if fewerBraces is unimported",
366-
lines().exists(_.contains("missing arguments for method apply")))
367-
}
368-
369350
object ReplCompilerTests:
370351

371352
private val pattern = Pattern.compile("\\r[\\n]?|\\n");

0 commit comments

Comments
 (0)