Use more realistic test data in the JAGGRAB test

Signed-off-by: Graham <gpe@openrs2.org>
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
fun testDecode() {
val channel = EmbeddedChannel(JaggrabRequestDecoder)
channel.writeInbound("JAGGRAB /runescape.pack200")
channel.writeInbound("JAGGRAB runescape.pack200")
val actual = channel.readInbound<JaggrabRequest>()
assertEquals(JaggrabRequest("/runescape.pack200"), actual)
assertEquals(JaggrabRequest("runescape.pack200"), actual)
}
@Test

Loading…
Cancel
Save