forked from aniani/vim
patch 8.2.0986: MS-Windows: functions test fails
Problem: MS-Windows: functions test fails. Solution: Only simplify ///path on Unix.
This commit is contained in:
@@ -464,8 +464,10 @@ func Test_simplify()
|
||||
call assert_equal('/', simplify('/..'))
|
||||
call assert_equal('/...', simplify('/...'))
|
||||
call assert_equal('//path', simplify('//path'))
|
||||
if has('unix')
|
||||
call assert_equal('/path', simplify('///path'))
|
||||
call assert_equal('/path', simplify('////path'))
|
||||
endif
|
||||
|
||||
call assert_equal('./dir/file', './dir/file'->simplify())
|
||||
call assert_equal('./dir/file', simplify('.///dir//file'))
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
986,
|
||||
/**/
|
||||
985,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user