Skip to content

Commit

Permalink
fix tests on nvim0.7 and 0.9 broken by 44ef86f.
Browse files Browse the repository at this point in the history
those still need screen:attach!! :D
  • Loading branch information
L3MON4D3 committed Dec 2, 2024
1 parent 4400d25 commit 33b06d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/add_snippets_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("add_snippets", function()
ls_helpers.clear()
ls_helpers.session_setup_luasnip()

screen = Screen.new(50, 3)
screen = ls_helpers.new_screen(50, 3)
screen:set_default_attr_ids({
[0] = { bold = true, foreground = Screen.colors.Blue },
[1] = { bold = true, foreground = Screen.colors.Brown },
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/loaders_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("loaders:", function()

ls_helpers.scratch_prepare()

screen = Screen.new(50, 5)
screen = ls_helpers.new_screen(50, 5)
screen:set_default_attr_ids({
[0] = { bold = true, foreground = Screen.colors.Blue },
[1] = { bold = true, foreground = Screen.colors.Brown },
Expand Down

0 comments on commit 33b06d7

Please sign in to comment.