view src/testdir/test_erasebackword.in @ 7643:2b2e90fcd72b v7.4.1121

commit https://github.com/vim/vim/commit/08b270a8a4544be9a7fecce311834fde2b457634 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 17 18:34:19 2016 +0100 patch 7.4.1121 Problem: test_expand leaves files behind. Solution: Edit another file before deleting, otherwise the swap file remains.
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jan 2016 18:45:04 +0100
parents f202e335d491
children ae45d497868f
line wrap: on
line source

Test for erasing backword

STARTTEST
:so small.vim
:so mbyte.vim
:set encoding=utf-8
G
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
:/^test/,$w! test.out
:qa!
ENDTEST

test starts here: