Use more realistic test data in the JAGGRAB test

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 4 years ago
parent 440711def0
commit cdc1edbb1d
  1. 4
      protocol/src/test/kotlin/org/openrs2/protocol/jaggrab/JaggrabRequestDecoderTest.kt

@ -10,10 +10,10 @@ class JaggrabRequestDecoderTest {
@Test @Test
fun testDecode() { fun testDecode() {
val channel = EmbeddedChannel(JaggrabRequestDecoder) val channel = EmbeddedChannel(JaggrabRequestDecoder)
channel.writeInbound("JAGGRAB /runescape.pack200") channel.writeInbound("JAGGRAB runescape.pack200")
val actual = channel.readInbound<JaggrabRequest>() val actual = channel.readInbound<JaggrabRequest>()
assertEquals(JaggrabRequest("/runescape.pack200"), actual) assertEquals(JaggrabRequest("runescape.pack200"), actual)
} }
@Test @Test

Loading…
Cancel
Save