summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-sync-potpourri.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-10-18 14:53:26 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-10-18 18:02:18 +0200
commit089cbc7d0c3a56de51a4e0b487bfce947ff88ad5 (patch)
tree32a13ed4b0c6902fbd733ddbebf415e550d6e06b /test/files/run/reflection-sync-potpourri.scala
parent6597eeba22891e540d88ad20ff011af5bcd99f96 (diff)
downloadscala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.tar.gz
scala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.tar.bz2
scala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.zip
pull request feedback
https://github.com/scala/scala/pull/3029
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)