From 6cee9d1a17177f4ccdf34283c6ed3ffaa98b32cc Mon Sep 17 00:00:00 2001 From: prollings Date: Wed, 6 Jul 2016 23:13:48 +1000 Subject: vim-patch:7.4.1111 (#5004) Problem: test_expand fails on MS-Windows. Solution: Always use forward slashes. Remove references to test27. https://github.com/vim/vim/commit/f60b796fa9870bdfc4cdeb91653bac041916077d --- test/functional/legacy/expand_spec.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/functional') diff --git a/test/functional/legacy/expand_spec.lua b/test/functional/legacy/expand_spec.lua index d1df40556f..7bf6fb67dc 100644 --- a/test/functional/legacy/expand_spec.lua +++ b/test/functional/legacy/expand_spec.lua @@ -39,8 +39,10 @@ describe('expand file name', function() next Xdir?/*/file call assert_equal('Xdir3/Xdir4/file', expand('%')) - next! Xdir?/*/nofile - call assert_equal('Xdir?/*/nofile', expand('%')) + if has('unix') + next! Xdir?/*/nofile + call assert_equal('Xdir?/*/nofile', expand('%')) + endif " Edit another file, on MS-Windows the swap file would be in use and can't " be deleted edit foo -- cgit