comparison src/testdir/test_ga.vim @ 15607:2dcaa860e3fc v8.1.0811

patch 8.1.0811: too many #ifdefs commit https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 17:59:39 2019 +0100 patch 8.1.0811: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 18:00:07 +0100
parents 81c348d40312
children b8fd7364befd
comparison
equal deleted inserted replaced
15606:50e09796a00a 15607:2dcaa860e3fc
19 call assert_equal("\n<^A> 1, Hex 01, Oct 001, Digr SH", Do_ga("\x01")) 19 call assert_equal("\n<^A> 1, Hex 01, Oct 001, Digr SH", Do_ga("\x01"))
20 call assert_equal("\n<^I> 9, Hex 09, Oct 011, Digr HT", Do_ga("\t")) 20 call assert_equal("\n<^I> 9, Hex 09, Oct 011, Digr HT", Do_ga("\t"))
21 21
22 call assert_equal("\n<e> 101, Hex 65, Octal 145", Do_ga('e')) 22 call assert_equal("\n<e> 101, Hex 65, Octal 145", Do_ga('e'))
23 23
24 if !has('multi_byte')
25 return
26 endif
27
28 " Test a few multi-bytes characters. 24 " Test a few multi-bytes characters.
29 call assert_equal("\n<é> 233, Hex 00e9, Oct 351, Digr e'", Do_ga('é')) 25 call assert_equal("\n<é> 233, Hex 00e9, Oct 351, Digr e'", Do_ga('é'))
30 call assert_equal("\n<ẻ> 7867, Hex 1ebb, Oct 17273, Digr e2", Do_ga('ẻ')) 26 call assert_equal("\n<ẻ> 7867, Hex 1ebb, Oct 17273, Digr e2", Do_ga('ẻ'))
31 27
32 " Test with combining characters. 28 " Test with combining characters.