From 030052163d182d72a6cdb0abc6c2ededcd59bab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?To=CF=80?= Date: Thu, 12 Oct 2023 18:00:05 +0200 Subject: [PATCH] fix unit test --- protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt b/protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt index c16e3ee13..f4dbe29ca 100644 --- a/protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt +++ b/protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt @@ -1,6 +1,7 @@ import dev.arbjerg.lavalink.protocol.v4.Exception import dev.arbjerg.lavalink.protocol.v4.LoadResult import dev.arbjerg.lavalink.protocol.v4.ResultStatus +import kotlinx.serialization.json.JsonObject import kotlin.js.JsName import kotlin.test.Test import kotlin.test.assertIs @@ -150,7 +151,7 @@ class LoadResultSerializerTest { loadType shouldBe ResultStatus.PLAYLIST assertIs(this) data { - pluginInfo shouldBe emptyMap() + pluginInfo shouldBe JsonObject(emptyMap()) info { name shouldBe "Example YouTube Playlist" selectedTrack shouldBe 3