diff --git a/bridge/src/test/scala/protocbridge/frontend/OsSpecificFrontendSpec.scala b/bridge/src/test/scala/protocbridge/frontend/OsSpecificFrontendSpec.scala index 87a9a1b..65f84ce 100644 --- a/bridge/src/test/scala/protocbridge/frontend/OsSpecificFrontendSpec.scala +++ b/bridge/src/test/scala/protocbridge/frontend/OsSpecificFrontendSpec.scala @@ -76,7 +76,7 @@ class OsSpecificFrontendSpec extends AnyFlatSpec with Matchers { val (state, response) = testPluginFrontend(frontend, fakeGenerator, env, toSend) try { - response mustBe response + response mustBe toReceive } catch { case e: TestFailedException => System.err.println(s"""Failed on iteration $i of $repeatCount: ${e.getMessage}""") @@ -85,7 +85,7 @@ class OsSpecificFrontendSpec extends AnyFlatSpec with Matchers { val (state, response) = testPluginFrontend(frontend, fakeGenerator, env, toSend) try { - response mustBe response + response mustBe toReceive } catch { case e: TestFailedException => System.err.println(s"""Failed on iteration $repeatCount of $repeatCount: ${e.getMessage}""")