# HG changeset patch # User Bram Moolenaar # Date 1592256603 -7200 # Node ID 738e182aaf2949bd1a173ddfebb78a1270ac9e83 # Parent 4681dae9259a2400d683705ee54fe0ef86218fce patch 8.2.0986: MS-Windows: functions test fails Commit: https://github.com/vim/vim/commit/c70222d12a2f8552273c0de48a3bf7138d649175 Author: Bram Moolenaar Date: Mon Jun 15 23:18:12 2020 +0200 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 --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -464,8 +464,10 @@ func Test_simplify() 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 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 986, +/**/ 985, /**/ 984,