diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-13 19:55:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-13 19:55:50 +0200 |
commit | 067297e16a516838dbc46aaa9d8b1a507afec28d (patch) | |
tree | 1f5e5fca853cce622ac4efa9f08920259d5315b2 /src/testdir/test_digraph.vim | |
parent | e3242346cf1c2ff8b0315cb2cb98e731bfa952c0 (diff) |
patch 8.2.0576: some errors are not covered by testsv8.2.0576
Problem: Some errors are not covered by tests.
Solution: Add a few more tests. (Dominique Pelle, closes #5920)
Diffstat (limited to 'src/testdir/test_digraph.vim')
-rw-r--r-- | src/testdir/test_digraph.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_digraph.vim b/src/testdir/test_digraph.vim index 9e7d6f4bbc..2a59994f05 100644 --- a/src/testdir/test_digraph.vim +++ b/src/testdir/test_digraph.vim @@ -212,6 +212,8 @@ func Test_digraphs() call assert_equal(['␀', 'ü', '∞', 'l'], getline(line('.')-3,line('.'))) call assert_fails('exe "digraph a\<Esc> 100"', 'E104:') call assert_fails('exe "digraph \<Esc>a 100"', 'E104:') + call assert_fails('digraph xy z', 'E39:') + call assert_fails('digraph x', 'E474:') bw! endfunc |