aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/arglist_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-26 12:20:19 +0800
committerGitHub <noreply@github.com>2022-04-26 12:20:19 +0800
commita75efc237d8669ef12fdfc9a7c5c5cf0f77083dc (patch)
treec22f82a0c739a99729d3d07a2af228b31dacaf4e /test/functional/legacy/arglist_spec.lua
parent5d159a7faad913852c65c81dcc976cf4be902fc1 (diff)
parent519e4c44720be9b0c8584cb53a902bc1e5bfe3a3 (diff)
downloadrneovim-a75efc237d8669ef12fdfc9a7c5c5cf0f77083dc.tar.gz
rneovim-a75efc237d8669ef12fdfc9a7c5c5cf0f77083dc.tar.bz2
rneovim-a75efc237d8669ef12fdfc9a7c5c5cf0f77083dc.zip
Merge pull request #18267 from zeertzjq/test-eq-arg-order
test: correct order of arguments to eq() and neq()
Diffstat (limited to 'test/functional/legacy/arglist_spec.lua')
-rw-r--r--test/functional/legacy/arglist_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/arglist_spec.lua b/test/functional/legacy/arglist_spec.lua
index 6a2e86ccb4..fbb67f9c03 100644
--- a/test/functional/legacy/arglist_spec.lua
+++ b/test/functional/legacy/arglist_spec.lua
@@ -17,7 +17,7 @@ describe('argument list commands', function()
end
local function assert_fails(cmd, err)
- neq(exc_exec(cmd):find(err), nil)
+ neq(nil, exc_exec(cmd):find(err))
end
it('test that argidx() works', function()