Mercurial > vim
view src/testdir/test_erasebackword.vim @ 29020:b9b8422ad671 v8.2.5032
patch 8.2.5032: Python 3 test fails without the GUI
Commit: https://github.com/vim/vim/commit/ddf531292971f44e8545a3e097c0d8a11773eb38
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 27 20:23:20 2022 +0100
patch 8.2.5032: Python 3 test fails without the GUI
Problem: Python 3 test fails without the GUI.
Solution: Check the balloon_eval feature is available.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 May 2022 21:30:03 +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