aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 08:07:06 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-11-05 09:25:31 +0800
commit40ca9b9528e5a4f043f0e6858786bf0c3d992a90 (patch)
treed91c5301c4c9c9bb93477d7c1877d7bf1370dac5 /src/nvim/testdir/test_syntax.vim
parente30929cda5cad8afb384cdb5b1ce62758dca6bde (diff)
downloadrneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.tar.gz
rneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.tar.bz2
rneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.zip
vim-patch:8.2.0866: not enough tests for buffer writing
Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes vim/vim#6167) https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Diffstat (limited to 'src/nvim/testdir/test_syntax.vim')
-rw-r--r--src/nvim/testdir/test_syntax.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index 9903b48dbe..29ebe141f7 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -631,9 +631,7 @@ endfunc
" Check highlighting for a small piece of C code with a screen dump.
func Test_syntax_c()
- if !CanRunVimInTerminal()
- throw 'Skipped: cannot make screendumps'
- endif
+ CheckRunVimInTerminal
call writefile([
\ '/* comment line at the top */',
\ 'int main(int argc, char **argv) { // another comment',