1
0
forked from aniani/vim

patch 8.1.2230: MS-Windows: testing external commands can be improved

Problem:    MS-Windows: testing external commands can be improved.
Solution:   Adjust tests, remove duplicate test. (closes #4928)
This commit is contained in:
Bram Moolenaar
2019-10-28 00:42:21 +01:00
parent efae76ab1a
commit 077ff436a7
5 changed files with 30 additions and 40 deletions

View File

@@ -408,8 +408,7 @@ func Test_normal10_expand()
if executable('echo')
" Test expand(`...`) i.e. backticks command expansion.
" MS-Windows has a trailing space.
call assert_match('^abcde *$', expand('`echo abcde`'))
call assert_equal('abcde', expand('`echo abcde`'))
endif
" Test expand(`=...`) i.e. backticks expression expansion