Mercurial > vim
diff src/testdir/test_compiler.vim @ 26109:efc174960b10 v8.2.3587
patch 8.2.3587: compiler test fails with backslash file separator
Commit: https://github.com/vim/vim/commit/0a15c7676bccb0c9483579106318e785c6e40a7f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 12 16:09:54 2021 +0000
patch 8.2.3587: compiler test fails with backslash file separator
Problem: Compiler test fails with backslash file separator.
Solution: Accept slash and backslash.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Nov 2021 17:15:05 +0100 |
parents | d079ab2ba260 |
children | fed9c5ffde42 |
line wrap: on
line diff
--- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -22,7 +22,7 @@ func Test_compiler() call assert_fails('let g:current_compiler', 'E121:') let verbose_efm = execute('verbose set efm') - call assert_match('Last set from .*/compiler/perl.vim ', verbose_efm) + call assert_match('Last set from .*[/\\]compiler[/\\]perl.vim ', verbose_efm) call setline(1, ['#!/usr/bin/perl -w', 'use strict;', 'my $foo=1']) w!