diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-02 14:55:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-02 14:55:08 +0100 |
commit | b513d3079bbe3f59a1f1a3d6931939a76cd7e54a (patch) | |
tree | 1683af0ef25f614588ca6ffb4ee9a12151763580 /src/testdir/test_syntax.vim | |
parent | d2ec51f399607d2df6ed1155b0bd303e722d6978 (diff) | |
download | vim-git-b513d3079bbe3f59a1f1a3d6931939a76cd7e54a.tar.gz |
patch 8.1.0559: command line completion not sufficiently testedv8.1.0559
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #3622)
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r-- | src/testdir/test_syntax.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim index ffa8e9022..c0be4a0ef 100644 --- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -119,6 +119,15 @@ func Test_syntime() bd endfunc +func Test_syntime_completion() + if !has('profile') + return + endif + + call feedkeys(":syntime \<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"syntime clear off on report', @:) +endfunc + func Test_syntax_list() syntax on let a = execute('syntax list') |