Skip to content

Commit

Permalink
We don't need to run this on nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Apr 25, 2024
1 parent 6e5b89c commit 1e554c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/jvm/src/test/scala/cats/effect/IOAppSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,6 @@ class IOAppSpec extends Specification {
h.stderr() must not(contain("Promise already completed"))
}

"shut down WSTP on fatal error without IOApp" in {
val h = platform(FatalErrorShutsDownRt, List.empty)
h.awaitStatus()
h.stdout() must not(contain("sadness"))
h.stdout() must contain("done")
}

"exit on canceled" in {
val h = platform(Canceled, List.empty)
h.awaitStatus() mustEqual 1
Expand Down Expand Up @@ -342,6 +335,13 @@ class IOAppSpec extends Specification {
ok
}

"shut down WSTP on fatal error without IOApp" in {
val h = platform(FatalErrorShutsDownRt, List.empty)
h.awaitStatus()
h.stdout() must not(contain("sadness"))
h.stdout() must contain("done")
}

"support main thread evaluation" in {
val h = platform(EvalOnMainThread, List.empty)
h.awaitStatus() mustEqual 0
Expand Down

0 comments on commit 1e554c4

Please sign in to comment.