aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 0caef3cae..1ddd0a578 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -18,6 +18,7 @@ class tests extends CompilerTest {
val posDir = "./tests/pos/"
val negDir = "./tests/neg/"
+ val newDir = "./tests/new/"
val dotcDir = "./src/dotty/"
/*
@Test def pos_Coder() = compileFile(posDir, "Coder", twice)
@@ -46,6 +47,7 @@ class tests extends CompilerTest {
@Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", twice)
*/
@Test def pos_all = compileFiles(posDir, twice)
+ @Test def pos_new = compileFiles(newDir, "-Xprompt" :: Nil)
@Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1)
@Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4)