diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 17:59:57 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 18:59:14 +0000 |
commit | 795f896a5772d5e0795f86642bdf90c82efac45c (patch) | |
tree | 308f04fbee18d2ec3f00c12a8bec96b84d8907f0 /test/functional/terminal/altscreen_spec.lua | |
parent | 4f81f506f96f8b5bfcf00e952ceb492d3ce9dc6e (diff) | |
download | rneovim-795f896a5772d5e0795f86642bdf90c82efac45c.tar.gz rneovim-795f896a5772d5e0795f86642bdf90c82efac45c.tar.bz2 rneovim-795f896a5772d5e0795f86642bdf90c82efac45c.zip |
test: rename (meths, funcs) -> (api, fn)
Diffstat (limited to 'test/functional/terminal/altscreen_spec.lua')
-rw-r--r-- | test/functional/terminal/altscreen_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/terminal/altscreen_spec.lua b/test/functional/terminal/altscreen_spec.lua index 3c41a68eda..c3be9ec6ca 100644 --- a/test/functional/terminal/altscreen_spec.lua +++ b/test/functional/terminal/altscreen_spec.lua @@ -1,6 +1,6 @@ local helpers = require('test.functional.helpers')(after_each) local thelpers = require('test.functional.terminal.helpers') -local clear, eq, meths = helpers.clear, helpers.eq, helpers.meths +local clear, eq, api = helpers.clear, helpers.eq, helpers.api local feed = helpers.feed local feed_data = thelpers.feed_data local enter_altscreen = thelpers.enter_altscreen @@ -42,7 +42,7 @@ describe(':terminal altscreen', function() {1: } | {3:-- TERMINAL --} | ]]) - eq(10, meths.nvim_buf_line_count(0)) + eq(10, api.nvim_buf_line_count(0)) end) it('wont clear lines already in the scrollback', function() @@ -107,7 +107,7 @@ describe(':terminal altscreen', function() end) it('wont modify line count', function() - eq(10, meths.nvim_buf_line_count(0)) + eq(10, api.nvim_buf_line_count(0)) end) it('wont modify lines in the scrollback', function() @@ -144,7 +144,7 @@ describe(':terminal altscreen', function() rows: 4, cols: 50 | | ]]) - eq(9, meths.nvim_buf_line_count(0)) + eq(9, api.nvim_buf_line_count(0)) end) describe('and after exit', function() |