patch 8.2.0986: MS-Windows: functions test fails
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim
index aad5a8c..d9f8b9a 100644
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -464,8 +464,10 @@
call assert_equal('/', simplify('/..'))
call assert_equal('/...', simplify('/...'))
call assert_equal('//path', simplify('//path'))
- call assert_equal('/path', simplify('///path'))
- 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'))
diff --git a/src/version.c b/src/version.c
index e8a8b33..c7806bc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 986,
+/**/
985,
/**/
984,