Patch 8.2.0986

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 15, 2020, 5:19:36 PM6/15/20
to vim...@googlegroups.com

Patch 8.2.0986 (after 8.2.0985)
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
Files: src/testdir/test_functions.vim


*** ../vim-8.2.0985/src/testdir/test_functions.vim 2020-06-15 21:41:51.791814391 +0200
--- src/testdir/test_functions.vim 2020-06-15 23:16:35.076913147 +0200
***************
*** 464,471 ****
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'))

call assert_equal('./dir/file', './dir/file'->simplify())
call assert_equal('./dir/file', simplify('.///dir//file'))
--- 464,473 ----
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'))
*** ../vim-8.2.0985/src/version.c 2020-06-15 21:41:51.795814374 +0200
--- src/version.c 2020-06-15 22:57:46.753369662 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 986,
/**/

--
Seen on the back of a biker's vest: If you can read this, my wife fell off.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages