view src/testdir/test_erasebackword.vim @ 18625:57927799c27e v8.1.2305

patch 8.1.2305: no warning for wrong entry in translations Commit: https://github.com/vim/vim/commit/e53ec39270c805a95e405812e4c463c87a150eda Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 16 18:49:50 2019 +0100 patch 8.1.2305: no warning for wrong entry in translations Problem: No warning for wrong entry in translations. Solution: Check semicolons in keywords entry of desktop file.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Nov 2019 19:00:04 +0100
parents 2dcaa860e3fc
children 08940efa6b4e
line wrap: on
line source


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