Mercurial > vim
comparison src/testdir/test_edit.vim @ 26067:6a55d46e83cd v8.2.3567
patch 8.2.3567: CTRL-I in Insert mode is not tested
Commit: https://github.com/vim/vim/commit/9cd063e3195a4c250c8016fa340922ab21fda252
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Thu Oct 28 21:06:05 2021 +0100
patch 8.2.3567: CTRL-I in Insert mode is not tested
Problem: CTRL-I in Insert mode is not tested
Solution: Add a test case. (Dominique Pell?, closes https://github.com/vim/vim/issues/8866)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Oct 2021 22:15:03 +0200 |
parents | 6b39ab99e367 |
children | 33ae003bb569 |
comparison
equal
deleted
inserted
replaced
26066:70cc491acacc | 26067:6a55d46e83cd |
---|---|
2032 unlet! g:i_to_n | 2032 unlet! g:i_to_n |
2033 unlet! g:nori_to_any | 2033 unlet! g:nori_to_any |
2034 unlet! g:i_to_any | 2034 unlet! g:i_to_any |
2035 endfunc | 2035 endfunc |
2036 | 2036 |
2037 " Test toggling of input method. See :help i_CTRL-^ | |
2038 func Test_edit_CTRL_hat() | |
2039 CheckFeature xim | |
2040 CheckNotGui " FIXME: why does this test fail when running in the GUI? | |
2041 | |
2042 new | |
2043 | |
2044 call assert_equal(0, &iminsert) | |
2045 call feedkeys("i\<C-^>", 'xt') | |
2046 call assert_equal(2, &iminsert) | |
2047 call feedkeys("i\<C-^>", 'xt') | |
2048 call assert_equal(0, &iminsert) | |
2049 | |
2050 bwipe! | |
2051 endfunc | |
2052 | |
2053 | |
2037 " vim: shiftwidth=2 sts=2 expandtab | 2054 " vim: shiftwidth=2 sts=2 expandtab |