aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/nesteddef/NestedDef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/scala/async/run/nesteddef/NestedDef.scala')
-rw-r--r--src/test/scala/scala/async/run/nesteddef/NestedDef.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/scala/scala/async/run/nesteddef/NestedDef.scala b/src/test/scala/scala/async/run/nesteddef/NestedDef.scala
index 69e741d..d714e52 100644
--- a/src/test/scala/scala/async/run/nesteddef/NestedDef.scala
+++ b/src/test/scala/scala/async/run/nesteddef/NestedDef.scala
@@ -8,7 +8,7 @@ import scala.async.internal.AsyncId
class NestedDef {
@Test
- def nestedDef() {
+ def nestedDef(): Unit = {
import AsyncId._
val result = async {
val a = 0
@@ -23,7 +23,7 @@ class NestedDef {
@Test
- def nestedFunction() {
+ def nestedFunction(): Unit = {
import AsyncId._
val result = async {
val a = 0
@@ -38,7 +38,7 @@ class NestedDef {
// We must lift `foo` and `bar` in the next two tests.
@Test
- def nestedDefTransitive1() {
+ def nestedDefTransitive1(): Unit = {
import AsyncId._
val result = async {
val a = 0
@@ -51,7 +51,7 @@ class NestedDef {
}
@Test
- def nestedDefTransitive2() {
+ def nestedDefTransitive2(): Unit = {
import AsyncId._
val result = async {
val a = 0
@@ -66,7 +66,7 @@ class NestedDef {
// checking that our use/definition analysis doesn't cycle.
@Test
- def mutuallyRecursive1() {
+ def mutuallyRecursive1(): Unit = {
import AsyncId._
val result = async {
val a = 0
@@ -80,7 +80,7 @@ class NestedDef {
// checking that our use/definition analysis doesn't cycle.
@Test
- def mutuallyRecursive2() {
+ def mutuallyRecursive2(): Unit = {
import AsyncId._
val result = async {
val a = 0