diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-10-18 14:53:26 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-10-18 18:02:18 +0200 |
commit | 089cbc7d0c3a56de51a4e0b487bfce947ff88ad5 (patch) | |
tree | 32a13ed4b0c6902fbd733ddbebf415e550d6e06b /test/files/run/reflection-sync-potpourri.scala | |
parent | 6597eeba22891e540d88ad20ff011af5bcd99f96 (diff) | |
download | scala-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.scala | 3 |
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) |