On Jan 19, 2016 7:51 AM, "Bram Moolenaar" <[email protected]> wrote: > > > Patch 7.4.1134 > Problem: The arglist test fails on MS-Windows. > Solution: Only check for failure of argedit on Unix. > Files: src/testdir/test_arglist.vim > > > *** ../vim-7.4.1133/src/testdir/test_arglist.vim 2016-01-19 13:07:08.754882644 +0100 > --- src/testdir/test_arglist.vim 2016-01-19 13:47:05.521073438 +0100 > *************** > *** 226,232 **** > argedit a > call assert_equal(['a', 'b'], argv()) > call assert_equal('a', expand('%:t')) > ! call assert_fails('argedit a b', 'E172:') > argedit c > call assert_equal(['a', 'c', 'b'], argv()) > 0argedit x > --- 226,235 ---- > argedit a > call assert_equal(['a', 'b'], argv()) > call assert_equal('a', expand('%:t')) > ! if has('unix') > ! " on MS-Windows this would edit file "a b"
Why does the behavior differ? Shouldn't it be consistent? Both Windows and UNIX asked you to have a file with a space in the name. In fact, :argedit's help calls out that only one filename is allowed. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
