Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Oct 12, 2023
1 parent 9928977 commit 0300521
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protocol/src/commonTest/kotlin/LoadResultSerializerTest.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -150,7 +151,7 @@ class LoadResultSerializerTest {
loadType shouldBe ResultStatus.PLAYLIST
assertIs<LoadResult.PlaylistLoaded>(this)
data {
pluginInfo shouldBe emptyMap()
pluginInfo shouldBe JsonObject(emptyMap())
info {
name shouldBe "Example YouTube Playlist"
selectedTrack shouldBe 3
Expand Down

0 comments on commit 0300521

Please sign in to comment.