Skip to content

Commit

Permalink
tests: Await program being run in native cancel test
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Nov 28, 2024
1 parent 5a33892 commit 5fd0c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ class ScalaCliSuite extends BaseScalaCliSuite("3.3.3") {
_ <- debugServer.initialize
_ <- debugServer.launch
_ <- debugServer.configurationDone
_ <- debugServer.awaitOutput("Hello world!", seconds = 20)
_ <- debugServer.disconnect
_ <- debugServer.shutdown
_ <- debugServer.allOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class DebuggeeOutput {
synchronized {
output.append(message)

val remaining = listeners.filterNot(_.matches(output.toString()))
val remaining = listeners.filterNot(_.matches(message.toString()))
listeners = remaining
}

Expand Down

0 comments on commit 5fd0c0a

Please sign in to comment.