Skip to content

Commit 1228151

Browse files
committed
Remove redundant coroutine usage from SsnTest.
1 parent 37cd09b commit 1228151

File tree

1 file changed

+0
-2
lines changed
  • kotest-javascript/src/wasmJsTest/kotlin/io/kotest/examples/js/ssn

1 file changed

+0
-2
lines changed

kotest-javascript/src/wasmJsTest/kotlin/io/kotest/examples/js/ssn/SsnTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ package io.kotest.examples.js.ssn
22

33
import io.kotest.core.spec.style.FunSpec
44
import io.kotest.matchers.shouldBe
5-
import kotlinx.coroutines.delay
65
import validateSocial
76

87
class SsnTest : FunSpec({
98

109
test("a SSN should be invalid when it contains a zero in any position") {
11-
delay(1000) // look ma, I can use coroutines here too !
1210
validateSocial("543-23-5013") shouldBe false
1311
validateSocial("043-23-5313") shouldBe false
1412
validateSocial("313-03-5310") shouldBe false

0 commit comments

Comments
 (0)