summaryrefslogtreecommitdiff
path: root/test/files/jvm/future-spec/FutureTests.scala
diff options
context:
space:
mode:
authorViktor Klang <viktor.klang@gmail.com>2013-02-21 15:31:48 +0100
committerViktor Klang <viktor.klang@gmail.com>2013-02-21 17:04:57 +0100
commit68f62d7e9c200034bd42ffaf795b57fb379d9d38 (patch)
tree04c59267a2e4523e33cd7aa25e036b5f09bcd739 /test/files/jvm/future-spec/FutureTests.scala
parent70956e560a11996e1d801d59b312dfe9d56b7a74 (diff)
downloadscala-68f62d7e9c200034bd42ffaf795b57fb379d9d38.tar.gz
scala-68f62d7e9c200034bd42ffaf795b57fb379d9d38.tar.bz2
scala-68f62d7e9c200034bd42ffaf795b57fb379d9d38.zip
SI-7164 - Removing NotImplementedError as Fatal from s.u.c.NonFatal
Diffstat (limited to 'test/files/jvm/future-spec/FutureTests.scala')
-rw-r--r--test/files/jvm/future-spec/FutureTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/future-spec/FutureTests.scala b/test/files/jvm/future-spec/FutureTests.scala
index 0efa83fbd9..01c9cf82ba 100644
--- a/test/files/jvm/future-spec/FutureTests.scala
+++ b/test/files/jvm/future-spec/FutureTests.scala
@@ -77,7 +77,7 @@ object FutureTests extends MinimalScalaTest {
val logThrowable: Throwable => Unit = p.trySuccess(_)
val ec: ExecutionContext = ExecutionContext.fromExecutor(null, logThrowable)
- val t = new NotImplementedError("foo")
+ val t = new InterruptedException()
val f = Future(throw t)(ec)
Await.result(p.future, 2.seconds) mustBe t
}