Mercurial > vim
comparison src/testdir/test_edit.vim @ 16419:aebcd20a8a3f v8.1.1214
patch 8.1.1214: old style tests
commit https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 27 18:00:34 2019 +0200
patch 8.1.1214: old style tests
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes #4308)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Apr 2019 18:15:05 +0200 |
parents | de810c9651c8 |
children | 2e689fb67c91 |
comparison
equal
deleted
inserted
replaced
16418:6f2f820a2f95 | 16419:aebcd20a8a3f |
---|---|
1445 | 1445 |
1446 bwipe! | 1446 bwipe! |
1447 au! InsertLeave | 1447 au! InsertLeave |
1448 iunmap x | 1448 iunmap x |
1449 endfunc | 1449 endfunc |
1450 | |
1451 " Test for inserting characters using CTRL-V followed by a number. | |
1452 func Test_edit_special_chars() | |
1453 new | |
1454 | |
1455 if has("ebcdic") | |
1456 let t = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>" | |
1457 else | |
1458 let t = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>" | |
1459 endif | |
1460 | |
1461 exe "normal " . t | |
1462 call assert_equal("ABC !a\<C-O>g\<C-G>8", getline(2)) | |
1463 | |
1464 close! | |
1465 endfunc |