Skip to content

Commit f32a45f

Browse files
committed
Fix tests to work with recent autoload changes
1 parent d9122b1 commit f32a45f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/_setup.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
let g:EasyGrepDefaultUserPattern="alphabet.in"
33
let g:EasyGrepMode=3
44
let g:EasyGrepExtraWarnings=0
5-
source ../plugin/EasyGrep.vim
65

tests/test.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@ECHO off
22
REM This suite requires https://github.com/inkarkat/runVimTests to run
33

4+
set TEST_SOURCES=--pure --runtime bundle\vim-easygrep\autoload\EasyGrep.vim --runtime bundle\vim-easygrep\plugin\EasyGrep.vim
5+
46
if %1.==clean. goto Clean
57
if %1.==run. goto Run
68
if %1.==runall. goto RunAll
@@ -18,12 +20,12 @@ goto End
1820
:Run
1921
shift
2022
echo Running %1 %2 %3 %4 %5 %6 %7 %8 %9
21-
../../runVimTests/bin/runVimTests.cmd --pure %1 %2 %3 %4 %5 %6 %7 %8 %9
23+
../../runVimTests/bin/runVimTests.cmd %TEST_SOURCES% %1 %2 %3 %4 %5 %6 %7 %8 %9
2224
goto End
2325

2426
:RunAll
2527
echo Running all
26-
../../runVimTests/bin/runVimTests.cmd --pure vimgrep.suite
28+
../../runVimTests/bin/runVimTests.cmd %TEST_SOURCES% vimgrep.suite
2729
goto End
2830

2931
:End

0 commit comments

Comments
 (0)