diff options
author | xuwei-k <6b656e6a69@gmail.com> | 2018-05-09 11:12:07 +0900 |
---|---|---|
committer | xuwei-k <6b656e6a69@gmail.com> | 2018-05-09 11:12:07 +0900 |
commit | 3f035632e37da0c484fcf43310857263e3470433 (patch) | |
tree | b0987e20a4d3a5d85ff94a1bb552b4e062f471d7 /src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala | |
parent | 9de808535a546c49a04bd50c93212425f3344ba9 (diff) | |
download | scala-async-3f035632e37da0c484fcf43310857263e3470433.tar.gz scala-async-3f035632e37da0c484fcf43310857263e3470433.tar.bz2 scala-async-3f035632e37da0c484fcf43310857263e3470433.zip |
fix procedure syntax
Diffstat (limited to 'src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala')
-rw-r--r-- | src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala b/src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala index 669eee2..65497ef 100644 --- a/src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala +++ b/src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala @@ -12,7 +12,7 @@ import org.junit.Test class NoAwaitSpec { @Test - def `async block without await`() { + def `async block without await`(): Unit = { def foo = 1 async { foo @@ -21,7 +21,7 @@ class NoAwaitSpec { } @Test - def `async block without await 2`() { + def `async block without await 2`(): Unit = { async { def x = 0 if (x > 0) 0 else 1 @@ -29,7 +29,7 @@ class NoAwaitSpec { } @Test - def `async expr without await`() { + def `async expr without await`(): Unit = { def foo = 1 async(foo) mustBe (foo) } |