From c974022c31e790136c62586eb0b0ace2d02d2afb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 4 Jun 2019 08:22:53 +0200 Subject: patch 8.1.1462: MS-Windows: using special character requires quoting Problem: MS-Windows: using special character requires quoting. Solution: Add quotes. (Ken Takata) --- src/testdir/test_environ.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir') diff --git a/src/testdir/test_environ.vim b/src/testdir/test_environ.vim index 76ffe5631..21bb09a69 100644 --- a/src/testdir/test_environ.vim +++ b/src/testdir/test_environ.vim @@ -36,7 +36,7 @@ func Test_external_env() call setenv('FOO', v:null) if has('win32') - let result = system('set | findstr ^FOO=') + let result = system('set | findstr "^FOO="') else let result = system('env | grep ^FOO=') endif -- cgit v1.2.1