diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-11 08:51:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 08:51:06 +0800 |
commit | 4528a69c8772a5fe182fb293b929dfcfad112abc (patch) | |
tree | 3ba275d5be425811b1e82ec5f956758d4cabd08d /test/functional/ui | |
parent | 509c053161c0495ac41cf12343089059afb4e813 (diff) | |
download | rneovim-4528a69c8772a5fe182fb293b929dfcfad112abc.tar.gz rneovim-4528a69c8772a5fe182fb293b929dfcfad112abc.tar.bz2 rneovim-4528a69c8772a5fe182fb293b929dfcfad112abc.zip |
test: remove unnecessary nil argument to testutil (#28270)
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/embed_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/ui/output_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/ui/screen.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua index c10781e792..934f00b288 100644 --- a/test/functional/ui/embed_spec.lua +++ b/test/functional/ui/embed_spec.lua @@ -233,7 +233,7 @@ describe('--embed UI', function() } eq({ [16777215] = true }, seen) - -- NB: by accident how functional/t.lua currently handles the default color scheme, the + -- NB: by accident how functional/testutil.lua currently handles the default color scheme, the -- above is sufficient to test the behavior. But in case that workaround is removed, we need -- a test with an explicit override like below, so do it to remain safe. startup('--cmd', 'hi NORMAL guibg=#FF00FF') diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index c8315e99b5..b09f1e0d03 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -81,7 +81,7 @@ describe('shell command :!', function() {3:-- TERMINAL --} | ]], { - -- test/functional/t.lua defaults to background=light. + -- test/functional/testutil.lua defaults to background=light. [1] = { reverse = true }, [3] = { bold = true }, [10] = { foreground = 2 }, diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index b08a5b93a6..a9b3fb80d3 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -70,7 +70,7 @@ -- To help write screen tests, see Screen:snapshot_util(). -- To debug screen tests, see Screen:redraw_debug(). -local t = require('test.functional.testutil')(nil) +local t = require('test.functional.testutil')() local busted = require('busted') local deepcopy = vim.deepcopy local shallowcopy = t.shallowcopy |