Skip to content

Commit 33b06d7

Browse files
committed
fix tests on nvim0.7 and 0.9 broken by 44ef86f.
those still need screen:attach!! :D
1 parent 4400d25 commit 33b06d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/add_snippets_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("add_snippets", function()
1010
ls_helpers.clear()
1111
ls_helpers.session_setup_luasnip()
1212

13-
screen = Screen.new(50, 3)
13+
screen = ls_helpers.new_screen(50, 3)
1414
screen:set_default_attr_ids({
1515
[0] = { bold = true, foreground = Screen.colors.Blue },
1616
[1] = { bold = true, foreground = Screen.colors.Brown },

tests/integration/loaders_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("loaders:", function()
2525

2626
ls_helpers.scratch_prepare()
2727

28-
screen = Screen.new(50, 5)
28+
screen = ls_helpers.new_screen(50, 5)
2929
screen:set_default_attr_ids({
3030
[0] = { bold = true, foreground = Screen.colors.Blue },
3131
[1] = { bold = true, foreground = Screen.colors.Brown },

0 commit comments

Comments
 (0)