Skip to content

Commit d19b234

Browse files
committed
patch 8.1.0005: test for :compiler command fails on MS-Windows
Problem: Test for :compiler command fails on MS-Windows. Solution: Ignore difference in path.
1 parent 54651f7 commit d19b234

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/testdir/test_compiler.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ endfunc
2828

2929
func Test_compiler_without_arg()
3030
let a=split(execute('compiler'))
31-
call assert_equal($VIMRUNTIME . '/compiler/ant.vim', a[0])
32-
call assert_equal($VIMRUNTIME . '/compiler/bcc.vim', a[1])
33-
call assert_equal($VIMRUNTIME . '/compiler/xmlwf.vim', a[-1])
31+
call assert_match('^.*runtime/compiler/ant.vim$', a[0])
32+
call assert_match('^.*runtime/compiler/bcc.vim$', a[1])
33+
call assert_match('^.*runtime/compiler/xmlwf.vim$', a[-1])
3434
endfunc
3535

3636
func Test_compiler_completion()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
5,
764766
/**/
765767
4,
766768
/**/

0 commit comments

Comments
 (0)