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_filetype.vim | |
parent | d2ec51f399607d2df6ed1155b0bd303e722d6978 (diff) |
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_filetype.vim')
-rw-r--r-- | src/testdir/test_filetype.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index d146bd2ce1..fd2f38355f 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -597,3 +597,7 @@ func Test_script_detection() filetype off endfunc +func Test_setfiletype_completion() + call feedkeys(":setfiletype java\<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"setfiletype java javacc javascript', @:) +endfunc |