Skip to content

Commit

Permalink
bugfix: Fix tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 18, 2024
1 parent 65101dc commit 0fc8b5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/mtest/src/main/scala/tests/TestInlayHints.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ object TestInlayHints {
case Right(markdown) => markdown.getValue()
}
)
val data =
InlayHints.fromData(inlayHint.getData().asInstanceOf[JsonElement])._2
val data = inlayHint.getData()

buffer += "/*"
if (data != null) {
labels.zip(data).foreach { case (label, data) =>
val dataDecoded =
InlayHints.fromData(data.asInstanceOf[JsonElement])._2
labels.zip(dataDecoded).foreach { case (label, data) =>
buffer += label
buffer ++= readData(data)
}
Expand Down

0 comments on commit 0fc8b5a

Please sign in to comment.