summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/treeset.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/scalacheck/treeset.scala')
-rw-r--r--test/files/scalacheck/treeset.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/scalacheck/treeset.scala b/test/files/scalacheck/treeset.scala
index 7fca3ed5e4..4b9b77dd7e 100644
--- a/test/files/scalacheck/treeset.scala
+++ b/test/files/scalacheck/treeset.scala
@@ -151,5 +151,5 @@ object Test extends Properties("TreeSet") {
}
property("ordering must not be null") =
- throws(TreeSet.empty[Int](null), classOf[NullPointerException])
+ throws(classOf[NullPointerException])(TreeSet.empty[Int](null))
}