0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

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 #8178)
This commit is contained in:
Dominique Pelle
2021-05-06 17:36:55 +02:00
committed by Bram Moolenaar
parent b7c978154e
commit 6d37e8e3ba
7 changed files with 49 additions and 0 deletions

View File

@@ -111,6 +111,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 ../memfile_test.c
setfiletype cpp
redraw