TEST: Modify the test case for next/previous

This commit is contained in:
haya14busa 2014-06-11 03:50:46 +09:00
parent 2e2b2aedea
commit 517ce0b80a

View File

@ -372,14 +372,14 @@ describe 'Default settings'
Expect maparg('<Plug>(easymotion-next)', 'o') Expect maparg('<Plug>(easymotion-next)', 'o')
\ ==# ':<C-U>call EasyMotion#NextPrevious(0,0)<CR>' \ ==# ':<C-U>call EasyMotion#NextPrevious(0,0)<CR>'
Expect maparg('<Plug>(easymotion-next)', 'v') Expect maparg('<Plug>(easymotion-next)', 'v')
\ ==# '<Esc>:<C-U>call EasyMotion#NextPrevious(1,0)<CR>' \ ==# ':<C-U>call EasyMotion#NextPrevious(1,0)<CR>'
Expect maparg('<Plug>(easymotion-prev)', 'n') Expect maparg('<Plug>(easymotion-prev)', 'n')
\ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>' \ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>'
Expect maparg('<Plug>(easymotion-prev)', 'o') Expect maparg('<Plug>(easymotion-prev)', 'o')
\ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>' \ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>'
Expect maparg('<Plug>(easymotion-prev)', 'v') Expect maparg('<Plug>(easymotion-prev)', 'v')
\ ==# '<Esc>:<C-U>call EasyMotion#NextPrevious(1,1)<CR>' \ ==# ':<C-U>call EasyMotion#NextPrevious(1,1)<CR>'
" }}} " }}}
" Line Motion: {{{ " Line Motion: {{{