diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-16 16:38:37 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-29 10:33:24 +0200 |
commit | c0a76af4f3434c0e6527d56e636b446bfd5598bb (patch) | |
tree | 0f478798c04501e869cb1b0d06947877859de0dd /compiler/test/dotc/tests.scala | |
parent | 101d124acda3cc8edf7ea3c55db8b80fb1e1cd05 (diff) | |
download | dotty-c0a76af4f3434c0e6527d56e636b446bfd5598bb.tar.gz dotty-c0a76af4f3434c0e6527d56e636b446bfd5598bb.tar.bz2 dotty-c0a76af4f3434c0e6527d56e636b446bfd5598bb.zip |
Move whitelist test out of `tests.scala`
Diffstat (limited to 'compiler/test/dotc/tests.scala')
-rw-r--r-- | compiler/test/dotc/tests.scala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index ce8dff056..1c80767ee 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -203,18 +203,6 @@ class tests extends CompilerTest { private val stdlibFiles: List[String] = StdLibSources.whitelisted - @Test def checkWBLists = { - val stdlibFilesBlackListed = StdLibSources.blacklisted - - val duplicates = stdlibFilesBlackListed.groupBy(x => x).filter(_._2.size > 1).filter(_._2.size > 1) - val msg = duplicates.map(x => s"'${x._1}' appears ${x._2.size} times").mkString(s"Duplicate entries in ${StdLibSources.blacklistFile}:\n", "\n", "\n") - assertTrue(msg, duplicates.isEmpty) - - val filesNotInStdLib = stdlibFilesBlackListed.toSet -- StdLibSources.all - val msg2 = filesNotInStdLib.map(x => s"'$x'").mkString(s"Entries in ${StdLibSources.blacklistFile} where not found:\n", "\n", "\n") - assertTrue(msg2, filesNotInStdLib.isEmpty) - } - @Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: "-Yno-inline" :: scala2mode) @Test def compileMixed = compileLine( """../tests/pos/B.scala |