diff --git a/protocol/src/test/kotlin/org/openrs2/protocol/js5/Js5ResponseEncoderTest.kt b/protocol/src/test/kotlin/org/openrs2/protocol/js5/Js5ResponseEncoderTest.kt index d93da0c637..64add6d3a5 100644 --- a/protocol/src/test/kotlin/org/openrs2/protocol/js5/Js5ResponseEncoderTest.kt +++ b/protocol/src/test/kotlin/org/openrs2/protocol/js5/Js5ResponseEncoderTest.kt @@ -48,7 +48,9 @@ object Js5ResponseEncoderTest { } read(encoded).use { expected -> - assertEquals(expected, channel.readOutbound()) + channel.readOutbound().use { actual -> + assertEquals(expected, actual) + } } }