We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e89c0 commit e578b77Copy full SHA for e578b77
junit/src/test/scala/scala/collection/parallel/mutable/ParArrayTest.scala
@@ -148,4 +148,9 @@ class ParArrayTest extends scala.collection.concurrent.ctries_old.Spec {
148
evaluating { ParArray.empty[String].minBy(_.length) }.shouldProduce[UnsupportedOperationException]()
149
}
150
151
+ @Test
152
+ def `emtpy maxBy`: Unit = {
153
+ evaluating { ParArray.empty[String].maxBy(_.length) }.shouldProduce[UnsupportedOperationException]()
154
+ }
155
+
156
0 commit comments