comparison 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
comparison
equal deleted inserted replaced
26108:0cb9d0a3a9b2 26109:efc174960b10
20 compiler perl 20 compiler perl
21 call assert_equal('perl', b:current_compiler) 21 call assert_equal('perl', b:current_compiler)
22 call assert_fails('let g:current_compiler', 'E121:') 22 call assert_fails('let g:current_compiler', 'E121:')
23 23
24 let verbose_efm = execute('verbose set efm') 24 let verbose_efm = execute('verbose set efm')
25 call assert_match('Last set from .*/compiler/perl.vim ', verbose_efm) 25 call assert_match('Last set from .*[/\\]compiler[/\\]perl.vim ', verbose_efm)
26 26
27 call setline(1, ['#!/usr/bin/perl -w', 'use strict;', 'my $foo=1']) 27 call setline(1, ['#!/usr/bin/perl -w', 'use strict;', 'my $foo=1'])
28 w! 28 w!
29 call feedkeys(":make\<CR>\<CR>", 'tx') 29 call feedkeys(":make\<CR>\<CR>", 'tx')
30 call assert_fails('clist', 'E42:') 30 call assert_fails('clist', 'E42:')