summaryrefslogtreecommitdiff
path: root/src/testdir/test_ga.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-27 21:09:30 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-27 21:09:30 +0100
commit5f73ef8d20070cd45c9aea4dc33c2e0657f5515c (patch)
tree4a223aa7d89da5c1d733287193626efee279155e /src/testdir/test_ga.vim
parent8195247054a659fe5cbc238197634d5e13e8e8e9 (diff)
downloadvim-git-5f73ef8d20070cd45c9aea4dc33c2e0657f5515c.tar.gz
patch 8.0.1553: cannot see what digraph is used to insert a characterv8.0.1553
Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_ga.vim')
-rw-r--r--src/testdir/test_ga.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testdir/test_ga.vim b/src/testdir/test_ga.vim
index f9357ddc8..6a7cba28f 100644
--- a/src/testdir/test_ga.vim
+++ b/src/testdir/test_ga.vim
@@ -11,13 +11,13 @@ func Test_ga_command()
new
set display=uhex
call assert_equal("\nNUL", Do_ga(''))
- call assert_equal("\n<<01>> 1, Hex 01, Octal 001", Do_ga("\x01"))
- call assert_equal("\n<<09>> 9, Hex 09, Octal 011", Do_ga("\t"))
+ call assert_equal("\n<<01>> 1, Hex 01, Oct 001, Digr SH", Do_ga("\x01"))
+ call assert_equal("\n<<09>> 9, Hex 09, Oct 011, Digr HT", Do_ga("\t"))
set display=
call assert_equal("\nNUL", Do_ga(''))
- call assert_equal("\n<^A> 1, Hex 01, Octal 001", Do_ga("\x01"))
- call assert_equal("\n<^I> 9, Hex 09, Octal 011", Do_ga("\t"))
+ call assert_equal("\n<^A> 1, Hex 01, Oct 001, Digr SH", Do_ga("\x01"))
+ call assert_equal("\n<^I> 9, Hex 09, Oct 011, Digr HT", Do_ga("\t"))
call assert_equal("\n<e> 101, Hex 65, Octal 145", Do_ga('e'))
@@ -26,8 +26,8 @@ func Test_ga_command()
endif
" Test a few multi-bytes characters.
- call assert_equal("\n<é> 233, Hex 00e9, Octal 351", Do_ga('é'))
- call assert_equal("\n<ẻ> 7867, Hex 1ebb, Octal 17273", Do_ga('ẻ'))
+ call assert_equal("\n<é> 233, Hex 00e9, Oct 351, Digr e'", Do_ga('é'))
+ call assert_equal("\n<ẻ> 7867, Hex 1ebb, Oct 17273, Digr e2", Do_ga('ẻ'))
" Test with combining characters.
call assert_equal("\n<e> 101, Hex 65, Octal 145 < ́> 769, Hex 0301, Octal 1401", Do_ga("e\u0301"))