summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-sync-potpourri.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-sync-potpourri.scala')
-rw-r--r--test/files/run/reflection-sync-potpourri.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/reflection-sync-potpourri.scala b/test/files/run/reflection-sync-potpourri.scala
index 06dcea9209..0ad5f2ab66 100644
--- a/test/files/run/reflection-sync-potpourri.scala
+++ b/test/files/run/reflection-sync-potpourri.scala
@@ -24,7 +24,8 @@ object Test extends App {
override def run(): Unit = {
val s1 = foo("42")
val s2 = perms(diceRolls(i - 1)).map(x => force(x)).sorted.mkString(", ")
- println(s"s1 = $s1, s2 = $s2")
+ assert(s1 == "java.lang.String")
+ assert(s2 == "java.lang.annotation.Annotation, java.lang.reflect.Method, scala.io.BufferedSource, scala.io.Codec")
}
})
threads foreach (_.start)