aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/StdLibSources.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/test/dotty/tools/StdLibSources.scala')
-rw-r--r--compiler/test/dotty/tools/StdLibSources.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/StdLibSources.scala b/compiler/test/dotty/tools/StdLibSources.scala
index 9afb81d20..46049a2b7 100644
--- a/compiler/test/dotty/tools/StdLibSources.scala
+++ b/compiler/test/dotty/tools/StdLibSources.scala
@@ -6,10 +6,9 @@ import scala.io.Source
object StdLibSources {
- def whitelistFile: String = "./test/dotc/scala-collections.whitelist"
def blacklistFile: String = "./test/dotc/scala-collections.blacklist"
- def whitelisted: List[String] = loadList(whitelistFile)
+ def whitelisted: List[String] = (all.toSet -- blacklisted).toList
def blacklisted: List[String] = loadList(blacklistFile)
def all: List[String] = {