comparison src/testdir/test_cdo.vim @ 17657:0da9bc55c31a v8.1.1826

patch 8.1.1826: tests use hand coded feature and option checks commit https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 7 23:07:07 2019 +0200 patch 8.1.1826: tests use hand coded feature and option checks Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Aug 2019 23:15:07 +0200
parents ba7727889385
children e373843e2980
comparison
equal deleted inserted replaced
17656:2adce9da20d8 17657:0da9bc55c31a
1 " Tests for the :cdo, :cfdo, :ldo and :lfdo commands 1 " Tests for the :cdo, :cfdo, :ldo and :lfdo commands
2 2
3 if !has('quickfix') 3 source check.vim
4 throw 'Skipped: quickfix feature missing' 4 CheckFeature quickfix
5 endif
6 5
7 " Create the files used by the tests 6 " Create the files used by the tests
8 function SetUp() 7 function SetUp()
9 call writefile(["Line1", "Line2", "Line3"], 'Xtestfile1') 8 call writefile(["Line1", "Line2", "Line3"], 'Xtestfile1')
10 call writefile(["Line1", "Line2", "Line3"], 'Xtestfile2') 9 call writefile(["Line1", "Line2", "Line3"], 'Xtestfile2')