summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPerformant Data LLC <performantdata@users.noreply.github.com>2015-10-14 21:17:42 -0700
committerPerformant Data LLC <performantdata@users.noreply.github.com>2015-10-14 21:17:42 -0700
commit9c97a7fbf67a9710b87b48e1020bb3c00a1f07a2 (patch)
treef9f1076cfac92c4c1506a23ce709a7c14ff39a4a /test
parent30d704df5c66986b82cd3158e8e36a0f1b5284ab (diff)
downloadscala-9c97a7fbf67a9710b87b48e1020bb3c00a1f07a2.tar.gz
scala-9c97a7fbf67a9710b87b48e1020bb3c00a1f07a2.tar.bz2
scala-9c97a7fbf67a9710b87b48e1020bb3c00a1f07a2.zip
Suppress unneeded import.
Diffstat (limited to 'test')
-rw-r--r--test/junit/scala/collection/mutable/OpenHashMapTest.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/junit/scala/collection/mutable/OpenHashMapTest.scala b/test/junit/scala/collection/mutable/OpenHashMapTest.scala
index 5e72727183..1459c14d78 100644
--- a/test/junit/scala/collection/mutable/OpenHashMapTest.scala
+++ b/test/junit/scala/collection/mutable/OpenHashMapTest.scala
@@ -11,13 +11,13 @@ class OpenHashMapTest {
/** Test that an [[OpenHashMap]] correctly maintains its internal `deleted` count. */
@Test
def maintainsDeletedCount {
- import scala.reflect.runtime.{universe => ru}
-
val m = OpenHashMap.empty[Int, Int]
// Reflect to get the private `deleted` field's value, which should be zero.
/* TODO Doesn't work, due to SI-9306.
+ import scala.reflect.runtime.{universe => ru}
+
val mirror = ru.runtimeMirror(m.getClass.getClassLoader)
val mapType = ru.typeOf[OpenHashMap[Int, Int]]
val termSym = mapType.decls