mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
test: correct order of arguments to eq() and neq()
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user