From 6855a55d5360b524902b21d1c68077b8aa351768 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 13 Feb 2021 13:41:30 -0500 Subject: vim-patch:8.2.0576: some errors are not covered by tests Problem: Some errors are not covered by tests. Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#5920) https://github.com/vim/vim/commit/067297e16a516838dbc46aaa9d8b1a507afec28d --- src/nvim/testdir/test_digraph.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/testdir/test_digraph.vim') diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim index b6d9687560..d23748a3e3 100644 --- a/src/nvim/testdir/test_digraph.vim +++ b/src/nvim/testdir/test_digraph.vim @@ -211,6 +211,8 @@ func Test_digraphs() call Put_Dig("00") call Put_Dig("el") call assert_equal(['␀', 'ü', '∞', 'l'], getline(line('.')-3,line('.'))) + call assert_fails('digraph xy z', 'E39:') + call assert_fails('digraph x', 'E474:') bw! endfunc -- cgit