Skip to content

Commit

Permalink
chore: Fix tests after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 27, 2024
1 parent 848a8a3 commit 33df8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/unit/src/main/scala/tests/BaseWorksheetLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,8 @@ abstract class BaseWorksheetLspSuite(
_ <- server.didChange("a/src/main/scala/a/Util.scala")(
_.replace("n + 1", "n + 2")
)
_ <- server.didSave("a/src/main/scala/a/Main.worksheet.sc")
_ <- server.didSave("a/src/main/scala/a/Util.scala")
_ <- server.didFocus("a/src/main/scala/a/Main.worksheet.sc")
_ <- server.assertInlayHints(
"a/src/main/scala/a/Main.worksheet.sc",
"""
Expand Down
1 change: 0 additions & 1 deletion tests/unit/src/test/scala/tests/TreeViewLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ class TreeViewLspSuite extends BaseLspSuite("tree-view") {
_ <- server.didChange("a/src/main/scala/a/Zero.scala") { text =>
text.replace("val a = 1", "val a = 1\nval b = 1.0")
}
_ <- server.didSave("a/src/main/scala/a/Zero.scala")
_ = assertEquals(
server.client.workspaceTreeViewChanges,
s"metalsPackages projects-$folder:${server.buildTarget("a")}!/_root_/",
Expand Down

0 comments on commit 33df8e9

Please sign in to comment.