diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-04-26 11:35:05 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-26 11:38:58 +0800 |
| commit | 519e4c44720be9b0c8584cb53a902bc1e5bfe3a3 (patch) | |
| tree | c22f82a0c739a99729d3d07a2af228b31dacaf4e /test/functional/editor/macro_spec.lua | |
| parent | 5d159a7faad913852c65c81dcc976cf4be902fc1 (diff) | |
| download | rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.tar.gz rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.tar.bz2 rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.zip | |
test: correct order of arguments to eq() and neq()
Diffstat (limited to 'test/functional/editor/macro_spec.lua')
| -rw-r--r-- | test/functional/editor/macro_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/editor/macro_spec.lua b/test/functional/editor/macro_spec.lua index d4cf6b28fd..53be7dcc62 100644 --- a/test/functional/editor/macro_spec.lua +++ b/test/functional/editor/macro_spec.lua @@ -17,20 +17,20 @@ describe('macros', function() it('can be recorded and replayed', function() feed('qiahello<esc>q') expect('hello') - eq(eval('@i'), 'ahello') + eq('ahello', eval('@i')) feed('@i') expect('hellohello') - eq(eval('@i'), 'ahello') + eq('ahello', eval('@i')) end) it('applies maps', function() command('imap x l') command('nmap l a') feed('qilxxx<esc>q') expect('lll') - eq(eval('@i'), 'lxxx') + eq('lxxx', eval('@i')) feed('@i') expect('llllll') - eq(eval('@i'), 'lxxx') + eq('lxxx', eval('@i')) end) it('can be replayed with Q', function() |