aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
commitf2dbeca863ae5ce5d557cd1047ed6f44b5607a27 (patch)
tree4e49d19cb779d9d52bbcfca4672a11709a0798fd /src
parent792381e1a07cccd82d0a8a49c32ffffebe4531b2 (diff)
downloadrneovim-f2dbeca863ae5ce5d557cd1047ed6f44b5607a27.tar.gz
rneovim-f2dbeca863ae5ce5d557cd1047ed6f44b5607a27.tar.bz2
rneovim-f2dbeca863ae5ce5d557cd1047ed6f44b5607a27.zip
vim-patch:8.2.3587: compiler test fails with backslash file separator
Problem: Compiler test fails with backslash file separator. Solution: Accept slash and backslash. https://github.com/vim/vim/commit/0a15c7676bccb0c9483579106318e785c6e40a7f
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_compiler.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim
index da1c847d96..c0c572ce65 100644
--- a/src/nvim/testdir/test_compiler.vim
+++ b/src/nvim/testdir/test_compiler.vim
@@ -20,7 +20,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!