diff options
author | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:03:12 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:03:36 +0200 |
commit | b8bb504035b5178dfe82cc42e818e3e8fb591465 (patch) | |
tree | 4c3c90081c90663df2bc4316159e37117272efe8 /test | |
parent | f006688d34e18553c8df800951cfa73c1aee4ea7 (diff) | |
download | dotty-b8bb504035b5178dfe82cc42e818e3e8fb591465.tar.gz dotty-b8bb504035b5178dfe82cc42e818e3e8fb591465.tar.bz2 dotty-b8bb504035b5178dfe82cc42e818e3e8fb591465.zip |
Add passing test
Needs to be done in pos-special because junit tests do not recognize _1, _2.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index ad4846c18..31e74fa97 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -111,6 +111,13 @@ class tests extends CompilerTest { @Test def pos_859 = compileFile(posSpecialDir, "i859", scala2mode)(allowDeepSubtypes) + @Test def pos_t5545 = { + // compile by hand in two batches, since junit lacks the infrastructure to + // compile files in multiple batches according to _1, _2, ... suffixes. + compileFile(posSpecialDir, "spec-t5545/S_1") + compileFile(posSpecialDir, "spec-t5545/S_2") + } + @Test def new_all = compileFiles(newDir, twice) @Test def repl_all = replFiles(replDir) |