diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-11 22:23:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 22:23:14 +0800 |
commit | 1da0f3494eb042c84ae5f00654878f7f8cedf3b7 (patch) | |
tree | 6f0ffb0220113945b77308c01842446d1f12fcc2 /test/functional/ui/inccommand_spec.lua | |
parent | 0f20b7d803779950492c2838e2b042a38f4ee22f (diff) | |
download | rneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.tar.gz rneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.tar.bz2 rneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.zip |
test: correct order of arguments to eq() (#27816)
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index 29c8c43ca1..d143c594f5 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -204,8 +204,8 @@ describe(":substitute, 'inccommand' preserves", function() feed(':%s/as/glork/') poke_eventloop() feed('<enter>') - eq(api.nvim_get_option_value('undolevels', { scope = 'global' }), 139) - eq(api.nvim_get_option_value('undolevels', { buf = 0 }), 34) + eq(139, api.nvim_get_option_value('undolevels', { scope = 'global' })) + eq(34, api.nvim_get_option_value('undolevels', { buf = 0 })) end) end |