aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/ifelse0/WhileSpec.scala
diff options
context:
space:
mode:
authorxuwei-k <6b656e6a69@gmail.com>2018-05-09 11:12:07 +0900
committerxuwei-k <6b656e6a69@gmail.com>2018-05-09 11:12:07 +0900
commit3f035632e37da0c484fcf43310857263e3470433 (patch)
treeb0987e20a4d3a5d85ff94a1bb552b4e062f471d7 /src/test/scala/scala/async/run/ifelse0/WhileSpec.scala
parent9de808535a546c49a04bd50c93212425f3344ba9 (diff)
downloadscala-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/ifelse0/WhileSpec.scala')
-rw-r--r--src/test/scala/scala/async/run/ifelse0/WhileSpec.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/scala/scala/async/run/ifelse0/WhileSpec.scala b/src/test/scala/scala/async/run/ifelse0/WhileSpec.scala
index 9ba0b69..44d84d7 100644
--- a/src/test/scala/scala/async/run/ifelse0/WhileSpec.scala
+++ b/src/test/scala/scala/async/run/ifelse0/WhileSpec.scala
@@ -12,7 +12,7 @@ import scala.async.internal.AsyncId
class WhileSpec {
@Test
- def whiling1() {
+ def whiling1(): Unit = {
import AsyncId._
val result = async {
@@ -28,7 +28,7 @@ class WhileSpec {
}
@Test
- def whiling2() {
+ def whiling2(): Unit = {
import AsyncId._
val result = async {
@@ -44,7 +44,7 @@ class WhileSpec {
}
@Test
- def nestedWhile() {
+ def nestedWhile(): Unit = {
import AsyncId._
val result = async {
@@ -64,7 +64,7 @@ class WhileSpec {
}
@Test
- def whileExpr() {
+ def whileExpr(): Unit = {
import AsyncId._
val result = async {
@@ -77,7 +77,7 @@ class WhileSpec {
result mustBe ()
}
- @Test def doWhile() {
+ @Test def doWhile(): Unit = {
import AsyncId._
val result = async {
var b = 0
@@ -93,7 +93,7 @@ class WhileSpec {
result mustBe "123123"
}
- @Test def whileAwaitCondition() {
+ @Test def whileAwaitCondition(): Unit = {
import AsyncId._
val result = async {
var b = true
@@ -105,7 +105,7 @@ class WhileSpec {
result mustBe false
}
- @Test def doWhileAwaitCondition() {
+ @Test def doWhileAwaitCondition(): Unit = {
import AsyncId._
val result = async {
var b = true