Mercurial > vim
comparison src/testdir/test_iminsert.vim @ 21765:08940efa6b4e v8.2.1432
patch 8.2.1432: various inconsistencies in test files
Commit: https://github.com/vim/vim/commit/6d91bcb4d23b5c6a0be72c384beaf385e2d9d606
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 12 18:50:36 2020 +0200
patch 8.2.1432: various inconsistencies in test files
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Aug 2020 19:00:08 +0200 |
parents | 484c27f2e98c |
children | c346db463a59 |
comparison
equal
deleted
inserted
replaced
21764:476b6faad407 | 21765:08940efa6b4e |
---|---|
1 " Test for 'iminsert' | |
2 | |
1 source view_util.vim | 3 source view_util.vim |
2 source check.vim | 4 source check.vim |
3 | 5 |
4 let s:imactivatefunc_called = 0 | 6 let s:imactivatefunc_called = 0 |
5 let s:imstatusfunc_called = 0 | 7 let s:imstatusfunc_called = 0 |
87 CheckFeature multi_byte_ime | 89 CheckFeature multi_byte_ime |
88 elseif !has('gui_mac') | 90 elseif !has('gui_mac') |
89 CheckFeature xim | 91 CheckFeature xim |
90 endif | 92 endif |
91 if has('gui_running') && !has('win32') | 93 if has('gui_running') && !has('win32') |
92 " this works only in Win32 GUI version (for some reason) | 94 throw 'Skipped: works only in Win32 GUI version (for some reason)' |
93 return | |
94 endif | 95 endif |
95 new | 96 new |
96 let save_imdisable = &imdisable | 97 let save_imdisable = &imdisable |
97 let save_iminsert = &iminsert | 98 let save_iminsert = &iminsert |
98 set noimdisable | 99 set noimdisable |