aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-04-15 07:56:42 -0400
committerGitHub <noreply@github.com>2020-04-15 07:56:42 -0400
commit979b7c0a73c147dafb51349150cbb120ce0881d1 (patch)
tree282efd6d8db1f7d86fd6ef8a641d6f4f3d38d18a /src
parent05fd64777087e3f6886e3fdda2fd906ccda7e165 (diff)
parent5f7384bf423be5948194cf9f6fa087f448709684 (diff)
downloadrneovim-979b7c0a73c147dafb51349150cbb120ce0881d1.tar.gz
rneovim-979b7c0a73c147dafb51349150cbb120ce0881d1.tar.bz2
rneovim-979b7c0a73c147dafb51349150cbb120ce0881d1.zip
Merge pull request #12121 from janlazo/vim-8.2.0575
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_digraph.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim
index 5da05e85b5..1792dcc00b 100644
--- a/src/nvim/testdir/test_digraph.vim
+++ b/src/nvim/testdir/test_digraph.vim
@@ -433,6 +433,18 @@ func Test_digraphs_output()
call assert_equal('Z% Ж 1046', matchstr(out, '\C\<Z%\D*1046\>'))
call assert_equal('u- ū 363', matchstr(out, '\C\<u-\D*363\>'))
call assert_equal('SH ^A 1', matchstr(out, '\C\<SH\D*1\>'))
+ call assert_notmatch('Latin supplement', out)
+
+ let out_bang_without_custom = execute(':digraph!')
+ digraph lt 60
+ let out_bang_with_custom = execute(':digraph!')
+ call assert_notmatch('lt', out_bang_without_custom)
+ call assert_match("^\n"
+ \ .. "NU ^@ 10 .*\n"
+ \ .. "Latin supplement\n"
+ \ .. "!I ¡ 161 .*\n"
+ \ .. ".*\n"
+ \ .. 'Custom\n.*\<lt < 60\>', out_bang_with_custom)
bw!
endfunc