diff --git a/tests/integration/add_snippets_spec.lua b/tests/integration/add_snippets_spec.lua index 22321d3a..49f32b7c 100644 --- a/tests/integration/add_snippets_spec.lua +++ b/tests/integration/add_snippets_spec.lua @@ -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 }, diff --git a/tests/integration/loaders_spec.lua b/tests/integration/loaders_spec.lua index ad2c8c56..f339131e 100644 --- a/tests/integration/loaders_spec.lua +++ b/tests/integration/loaders_spec.lua @@ -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 },