Mercurial > vim
view src/testdir/test_erasebackword.vim @ 19856:90eec641cc8c v8.2.0484
patch 8.2.0484: Vim9: some error messages not tested
Commit: https://github.com/vim/vim/commit/92dba36fc8742fdb51b16d9bb967ef184b4babc1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 30 21:22:56 2020 +0200
patch 8.2.0484: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested.
Solution: Add more tests.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Mar 2020 21:30:04 +0200 |
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