Mercurial > vim
view src/testdir/test_erasebackword.vim @ 24982:4cb423b9250d v8.2.3028
patch 8.2.3028: GUI mouse events not tested
Commit: https://github.com/vim/vim/commit/f1e7449d567c630601aa0cec6c663b791785a668
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Jun 21 18:44:26 2021 +0200
patch 8.2.3028: GUI mouse events not tested
Problem: GUI mouse events not tested.
Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
viminfo tests. (Yegappan Lakshmanan, closes #8407)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 21 Jun 2021 18:45:04 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test for i_CTRL-W 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 " vim: shiftwidth=2 sts=2 expandtab