mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
af23d17388
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
20 lines
840 B
VimL
20 lines
840 B
VimL
|
|
func Test_erasebackword()
|
|
enew
|
|
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>"
|
|
call assert_equal(' wwwこんにちわ世界ワールド', getline('.'))
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>"
|
|
call assert_equal(' wwwこんにちわ世界', getline('.'))
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>"
|
|
call assert_equal(' wwwこんにちわ', getline('.'))
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>"
|
|
call assert_equal(' www', getline('.'))
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>\<C-W>"
|
|
call assert_equal(' ', getline('.'))
|
|
exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>\<C-W>\<C-W>"
|
|
call assert_equal('', getline('.'))
|
|
|
|
enew!
|
|
endfunc
|