diff options
-rw-r--r-- | src/nvim/testdir/shared.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim index d56fff1fe8..6180d542ff 100644 --- a/src/nvim/testdir/shared.vim +++ b/src/nvim/testdir/shared.vim @@ -271,7 +271,7 @@ func GetVimCommand(...) let cmd = cmd . ' -u ' . name endif let cmd .= ' --headless -i NONE' - let cmd = substitute(cmd, 'VIMRUNTIME=.*VIMRUNTIME;', '', '') + let cmd = substitute(cmd, 'VIMRUNTIME=\S\+', '', '') " If using valgrind, make sure every run uses a different log file. if cmd =~ 'valgrind.*--log-file=' |