From cdc1edbb1dfed968fb74183549b1ea5f52f85352 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 25 May 2021 17:38:32 +0100 Subject: [PATCH] Use more realistic test data in the JAGGRAB test Signed-off-by: Graham --- .../org/openrs2/protocol/jaggrab/JaggrabRequestDecoderTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/src/test/kotlin/org/openrs2/protocol/jaggrab/JaggrabRequestDecoderTest.kt b/protocol/src/test/kotlin/org/openrs2/protocol/jaggrab/JaggrabRequestDecoderTest.kt index 2e4859c5..5ec562df 100644 --- a/protocol/src/test/kotlin/org/openrs2/protocol/jaggrab/JaggrabRequestDecoderTest.kt +++ b/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() - assertEquals(JaggrabRequest("/runescape.pack200"), actual) + assertEquals(JaggrabRequest("runescape.pack200"), actual) } @Test