Skip to content

Commit 9e0a9c0

Browse files
committed
Add () at relevant call sites in the JS env test kit.
1 parent 7c7c509 commit 9e0a9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js-envs-test-kit/src/main/scala/org/scalajs/jsenv/test/kit/MsgHandler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import java.util.concurrent.TimeoutException
2626
private[kit] final class MsgHandler {
2727
private[this] var msgs: immutable.Queue[String] =
2828
immutable.Queue.empty[String]
29-
private[this] val run = Promise[Unit]
29+
private[this] val run = Promise[Unit]()
3030

3131
def onMessage(msg: String): Unit = synchronized {
3232
if (run.isCompleted) {

0 commit comments

Comments
 (0)