aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala')
-rw-r--r--src/test/scala/scala/async/run/noawait/NoAwaitSpec.scala6
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)
}