Mercurial > vim
view src/testdir/test_erasebackword.vim @ 32184:f1602cf7022f v9.0.1423
patch 9.0.1423: WebAssembly Interface Type files are not recognized
Commit: https://github.com/vim/vim/commit/890c77203637626b1005db818667084d11e653e7
Author: Amaan Qureshi <amaanq12@gmail.com>
Date: Tue Mar 21 22:03:15 2023 +0000
patch 9.0.1423: WebAssembly Interface Type files are not recognized
Problem: WebAssembly Interface Type files are not recognized.
Solution: Add a pattern for WIT files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12173)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Mar 2023 23:15:04 +0100 |
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