diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-02-21 08:02:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-21 08:02:45 +0800 |
| commit | 726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7 (patch) | |
| tree | 3e5715551c6e61d75ae8efe1a91cac17e4e089c8 /src/nvim/testdir/test_normal.vim | |
| parent | aeb390e28f6346009c5a67a9ea79161bc1e62dda (diff) | |
| parent | dcefd48c1b7023bb1dce25bf9f6cfce47edbe993 (diff) | |
| download | rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.tar.gz rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.tar.bz2 rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.zip | |
Merge pull request #17403 from zeertzjq/vim-8.1.1955
vim-patch:8.1.{1846,1955},8.2.0156
Diffstat (limited to 'src/nvim/testdir/test_normal.vim')
| -rw-r--r-- | src/nvim/testdir/test_normal.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index e8eebb3fdd..f45cd96733 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -1118,7 +1118,7 @@ func Test_normal20_exmode() endif call writefile(['1a', 'foo', 'bar', '.', 'w! Xfile2', 'q!'], 'Xscript') call writefile(['1', '2'], 'Xfile') - call system(v:progpath .' -e -s < Xscript Xfile') + call system(GetVimCommand() .. ' -e -s < Xscript Xfile') let a=readfile('Xfile2') call assert_equal(['1', 'foo', 'bar', '2'], a) @@ -1171,13 +1171,13 @@ func Test_normal22_zet() endfor call writefile(['1', '2'], 'Xfile_Test_normal22_zet') - let args = ' --headless -u NONE -N -U NONE -i NONE --noplugins' - call system(v:progpath . args . ' -c "%d" -c ":norm! ZZ" Xfile_Test_normal22_zet') + let args = ' -N -i NONE --noplugins -X --headless' + call system(GetVimCommand() .. args .. ' -c "%d" -c ":norm! ZZ" Xfile_Test_normal22_zet') let a = readfile('Xfile_Test_normal22_zet') call assert_equal([], a) " Test for ZQ call writefile(['1', '2'], 'Xfile_Test_normal22_zet') - call system(v:progpath . args . ' -c "%d" -c ":norm! ZQ" Xfile_Test_normal22_zet') + call system(GetVimCommand() . args . ' -c "%d" -c ":norm! ZQ" Xfile_Test_normal22_zet') let a = readfile('Xfile_Test_normal22_zet') call assert_equal(['1', '2'], a) |