From 70634395a4ea6e05877704e655a5870692581ebc Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Fri, 22 Nov 2013 10:32:50 -0600 Subject: SI-6913 Fixing semantics of Future fallbackTo to be according to docs Origin: viktorklang@1bbe854 --- test/files/jvm/scala-concurrent-tck.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/jvm/scala-concurrent-tck.scala') diff --git a/test/files/jvm/scala-concurrent-tck.scala b/test/files/jvm/scala-concurrent-tck.scala index 6e2b8ca033..a306a7d15b 100644 --- a/test/files/jvm/scala-concurrent-tck.scala +++ b/test/files/jvm/scala-concurrent-tck.scala @@ -344,8 +344,8 @@ def testTransformFailure(): Unit = once { def testFallbackToFailure(): Unit = once { done => val cause = new Exception - val f = future { sys.error("failed") } - val g = future { throw cause } + val f = future { throw cause } + val g = future { sys.error("failed") } val h = f fallbackTo g h onSuccess { case _ => done(false) } -- cgit v1.2.3