diff options
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
| -rw-r--r-- | test/functional/vimscript/executable_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/vimscript/executable_spec.lua b/test/functional/vimscript/executable_spec.lua index 943e2e10d0..bb52c861f0 100644 --- a/test/functional/vimscript/executable_spec.lua +++ b/test/functional/vimscript/executable_spec.lua @@ -19,13 +19,13 @@ describe('executable()', function() end) if is_os('win') then - it('exepath respects shellslash', function() + it('exepath returns consistent slashes #13787', function() -- test/ cannot be a symlink in this test. n.api.nvim_set_current_dir(t.paths.test_source_path) command('let $PATH = fnamemodify("./test/functional/fixtures/bin", ":p")') eq( - [[test\functional\fixtures\bin\null.CMD]], + [[test/functional/fixtures/bin/null.CMD]], call('fnamemodify', call('exepath', 'null'), ':.') ) command('set shellslash') @@ -35,12 +35,12 @@ describe('executable()', function() ) end) - it('stdpath respects shellslash', function() + it('stdpath returns consistent slashes #13787', function() -- Needs to check paths relative to repo root dir. n.api.nvim_set_current_dir(t.paths.test_source_path) t.matches( - [[build\Xtest_xdg[%w_]*\share\nvim%-data]], + [[build/Xtest_xdg[%w_]*/share/nvim%-data]], call('fnamemodify', call('stdpath', 'data'), ':.') ) command('set shellslash') |
