Mercurial > vim
comparison src/testdir/test_syntax.vim @ 24596:acd9220bdd0b v8.2.2837
patch 8.2.2837: various code lines not covered by tests
Commit: https://github.com/vim/vim/commit/6d37e8e3baafba460bd2d051170d213c1ba9a523
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Thu May 6 17:36:55 2021 +0200
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 https://github.com/vim/vim/issues/8178)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 May 2021 17:45:04 +0200 |
parents | d16a69f718b5 |
children | 485c7c4afeb7 |
comparison
equal
deleted
inserted
replaced
24595:cc93bd42e6b3 | 24596:acd9220bdd0b |
---|---|
107 CheckFeature profile | 107 CheckFeature profile |
108 | 108 |
109 syntax on | 109 syntax on |
110 syntime on | 110 syntime on |
111 let a = execute('syntime report') | 111 let a = execute('syntime report') |
112 call assert_equal("\nNo Syntax items defined for this buffer", a) | |
113 | |
114 let a = execute('syntime clear') | |
112 call assert_equal("\nNo Syntax items defined for this buffer", a) | 115 call assert_equal("\nNo Syntax items defined for this buffer", a) |
113 | 116 |
114 view ../memfile_test.c | 117 view ../memfile_test.c |
115 setfiletype cpp | 118 setfiletype cpp |
116 redraw | 119 redraw |