Mercurial > vim
comparison src/testdir/test_syntax.vim @ 18977:5bef1043abff v8.2.0049
patch 8.2.0049: command line completion not fully tested
Commit: https://github.com/vim/vim/commit/297610ba4b110c918ffe60c45eb4a1d6ea2daae5
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 27 17:20:55 2019 +0100
patch 8.2.0049: command line completion not fully tested
Problem: Command line completion not fully tested.
Solution: Add more test cases. Make help sorting stable. (Dominique Pelle,
closes #5402)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Dec 2019 17:30:03 +0100 |
parents | e15c1d8a6b99 |
children | 546bdeef35f1 |
comparison
equal
deleted
inserted
replaced
18976:f6c0722e266b | 18977:5bef1043abff |
---|---|
176 call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx') | 176 call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx') |
177 call assert_match('^"syn list Boolean Character ', @:) | 177 call assert_match('^"syn list Boolean Character ', @:) |
178 | 178 |
179 call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx') | 179 call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx') |
180 call assert_match('^"syn match Boolean Character ', @:) | 180 call assert_match('^"syn match Boolean Character ', @:) |
181 endfunc | |
182 | |
183 func Test_echohl_completion() | |
184 call feedkeys(":echohl no\<C-A>\<C-B>\"\<CR>", 'tx') | |
185 call assert_equal('"echohl NonText Normal none', @:) | |
181 endfunc | 186 endfunc |
182 | 187 |
183 func Test_syntax_arg_skipped() | 188 func Test_syntax_arg_skipped() |
184 syn clear | 189 syn clear |
185 syntax case ignore | 190 syntax case ignore |