diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 07:53:54 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 08:01:38 +0800 |
| commit | 624f6a8ca012dd6d27f1e67ace6ef10d04c5625f (patch) | |
| tree | 2f6343bdd503a497c7afe0234abc61c4aff09096 /src/nvim/testdir/test_syntax.vim | |
| parent | c86371258cb10a015cf151b84e04df4480569aff (diff) | |
| download | rneovim-624f6a8ca012dd6d27f1e67ace6ef10d04c5625f.tar.gz rneovim-624f6a8ca012dd6d27f1e67ace6ef10d04c5625f.tar.bz2 rneovim-624f6a8ca012dd6d27f1e67ace6ef10d04c5625f.zip | |
vim-patch:8.2.2837: various code lines not covered by tests
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes vim/vim#8178)
https://github.com/vim/vim/commit/6d37e8e3baafba460bd2d051170d213c1ba9a523
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
Diffstat (limited to 'src/nvim/testdir/test_syntax.vim')
| -rw-r--r-- | src/nvim/testdir/test_syntax.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim index 2a173916d0..9d617e145c 100644 --- a/src/nvim/testdir/test_syntax.vim +++ b/src/nvim/testdir/test_syntax.vim @@ -113,6 +113,9 @@ func Test_syntime() let a = execute('syntime report') call assert_equal("\nNo Syntax items defined for this buffer", a) + let a = execute('syntime clear') + call assert_equal("\nNo Syntax items defined for this buffer", a) + view samples/memfile_test.c setfiletype cpp redraw |