Mercurial > vim
comparison src/testdir/test_syntax.vim @ 18382:3fd7d544eedb v8.1.2185
patch 8.1.2185: syntax test fails
Commit: https://github.com/vim/vim/commit/bbfd1562aeaa5b40b6451effc399846b692d6992
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 19 20:38:15 2019 +0200
patch 8.1.2185: syntax test fails
Problem: Syntax test fails.
Solution: Add missing file patch.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Oct 2019 20:45:04 +0200 |
parents | ee489bb09ea8 |
children | c34ee31d0878 |
comparison
equal
deleted
inserted
replaced
18381:afd24c11369c | 18382:3fd7d544eedb |
---|---|
553 \ 'myFunction(const double count, struct nothing, long there) {', | 553 \ 'myFunction(const double count, struct nothing, long there) {', |
554 \ "\t// 123: nothing to endif here", | 554 \ "\t// 123: nothing to endif here", |
555 \ "\tfor (int i = 0; i < count; ++i) {", | 555 \ "\tfor (int i = 0; i < count; ++i) {", |
556 \ "\t break;", | 556 \ "\t break;", |
557 \ "\t}", | 557 \ "\t}", |
558 \ "\tNote: asdf", | |
558 \ '}', | 559 \ '}', |
559 \ ], 'Xtest.c') | 560 \ ], 'Xtest.c') |
560 | 561 |
561 " This makes the default for 'background' use "dark", check that the | 562 " This makes the default for 'background' use "dark", check that the |
562 " response to t_RB corrects it to "light". | 563 " response to t_RB corrects it to "light". |
563 let $COLORFGBG = '15;0' | 564 let $COLORFGBG = '15;0' |
564 | 565 |
565 let buf = RunVimInTerminal('Xtest.c', {}) | 566 let buf = RunVimInTerminal('Xtest.c', #{rows: 22}) |
567 call term_sendkeys(buf, ":syn keyword Search Note\r") | |
566 call term_sendkeys(buf, ":set hlsearch\r") | 568 call term_sendkeys(buf, ":set hlsearch\r") |
567 call term_sendkeys(buf, "/endif\r") | 569 call term_sendkeys(buf, "/endif\r") |
568 call term_sendkeys(buf, "vjfC") | 570 call term_sendkeys(buf, "vjfC") |
569 call VerifyScreenDump(buf, 'Test_syntax_c_01', {}) | 571 call VerifyScreenDump(buf, 'Test_syntax_c_01', {}) |
570 | 572 |