Skip to content

Commit aebccb7

Browse files
committed
Fix response validation
1 parent 687db56 commit aebccb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bridge/src/test/scala/protocbridge/frontend/OsSpecificFrontendSpec.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class OsSpecificFrontendSpec extends AnyFlatSpec with Matchers {
7676
val (state, response) =
7777
testPluginFrontend(frontend, fakeGenerator, env, toSend)
7878
try {
79-
response mustBe response
79+
response mustBe toReceive
8080
} catch {
8181
case e: TestFailedException =>
8282
System.err.println(s"""Failed on iteration $i of $repeatCount: ${e.getMessage}""")
@@ -85,7 +85,7 @@ class OsSpecificFrontendSpec extends AnyFlatSpec with Matchers {
8585
val (state, response) =
8686
testPluginFrontend(frontend, fakeGenerator, env, toSend)
8787
try {
88-
response mustBe response
88+
response mustBe toReceive
8989
} catch {
9090
case e: TestFailedException =>
9191
System.err.println(s"""Failed on iteration $repeatCount of $repeatCount: ${e.getMessage}""")

0 commit comments

Comments
 (0)