diff options
Diffstat (limited to 'src/testdir/test_match.vim')
-rw-r--r-- | src/testdir/test_match.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_match.vim b/src/testdir/test_match.vim index 8eada3fea..db87914f8 100644 --- a/src/testdir/test_match.vim +++ b/src/testdir/test_match.vim @@ -2,6 +2,7 @@ " matchaddpos(), matcharg(), matchdelete(), and setmatches(). source screendump.vim +source check.vim function Test_match() highlight MyGroup1 term=bold ctermbg=red guibg=red @@ -267,9 +268,8 @@ func OtherWindowCommon() endfunc func Test_matchdelete_other_window() - if !CanRunVimInTerminal() - throw 'Skipped: cannot make screendumps' - endif + CheckScreendump + let buf = OtherWindowCommon() call term_sendkeys(buf, ":call matchdelete(mid, winid)\<CR>") call VerifyScreenDump(buf, 'Test_matchdelete_1', {}) |