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/ex_cmds | |
| 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/ex_cmds')
| -rw-r--r-- | test/functional/ex_cmds/cmd_map_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/cmd_map_spec.lua b/test/functional/ex_cmds/cmd_map_spec.lua index cb7d7340e2..4499b2172d 100644 --- a/test/functional/ex_cmds/cmd_map_spec.lua +++ b/test/functional/ex_cmds/cmd_map_spec.lua @@ -505,7 +505,7 @@ describe('mappings with <Cmd>', function() feed('"bd<F7>') expect([[ soest text]]) - eq(fn.getreg('b', 1, 1), { 'me short lines', 'of t' }) + eq({ 'me short lines', 'of t' }, fn.getreg('b', 1, 1)) -- startinsert aborts operator feed('d<F8>') @@ -561,7 +561,7 @@ describe('mappings with <Cmd>', function() of stuff test text]]) feed('<F5>') - eq(fn.getreg('a', 1, 1), { 'deed some short little lines', 'of stuff t' }) + eq({ 'deed some short little lines', 'of stuff t' }, fn.getreg('a', 1, 1)) -- still in insert screen:expect([[ |