Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 19613:9c15be376631 v8.2.0363
patch 8.2.0363: some Normal mode commands not tested
Commit: https://github.com/vim/vim/commit/f5f1e10d0d39890298cdf27f664d466c8872b87e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 8 05:13:15 2020 +0100
patch 8.2.0363: some Normal mode commands not tested
Problem: Some Normal mode commands not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5746)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Mar 2020 05:15:04 +0100 |
parents | 848dc460adf0 |
children | f70a3c1000bb |
comparison
equal
deleted
inserted
replaced
19612:a70ee453358e | 19613:9c15be376631 |
---|---|
1314 func Test_cmdline_composing_chars() | 1314 func Test_cmdline_composing_chars() |
1315 call feedkeys(":\"\<C-V>u3046\<C-V>u3099\<CR>", 'xt') | 1315 call feedkeys(":\"\<C-V>u3046\<C-V>u3099\<CR>", 'xt') |
1316 call assert_equal('"ゔ', @:) | 1316 call assert_equal('"ゔ', @:) |
1317 endfunc | 1317 endfunc |
1318 | 1318 |
1319 " Test for normal mode commands not supported in the cmd window | |
1320 func Test_cmdwin_blocked_commands() | |
1321 call assert_fails('call feedkeys("q:\<C-T>\<CR>", "xt")', 'E11:') | |
1322 call assert_fails('call feedkeys("q:\<C-]>\<CR>", "xt")', 'E11:') | |
1323 call assert_fails('call feedkeys("q:\<C-^>\<CR>", "xt")', 'E11:') | |
1324 call assert_fails('call feedkeys("q:Q\<CR>", "xt")', 'E11:') | |
1325 call assert_fails('call feedkeys("q:Z\<CR>", "xt")', 'E11:') | |
1326 call assert_fails('call feedkeys("q:\<F1>\<CR>", "xt")', 'E11:') | |
1327 endfunc | |
1328 | |
1319 " vim: shiftwidth=2 sts=2 expandtab | 1329 " vim: shiftwidth=2 sts=2 expandtab |