aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/executable_spec.lua
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-04-01 19:47:58 +0900
committererw7 <erw7.github@gmail.com>2019-04-01 19:47:58 +0900
commitece8d88b105d6c809648ad80280e7e3edb935410 (patch)
tree40220ccc825f5d92f2b8f3fe8b8620160889249d /test/functional/eval/executable_spec.lua
parenta7cc18e5635ca4a1515167d331cd582e53471636 (diff)
downloadrneovim-ece8d88b105d6c809648ad80280e7e3edb935410.tar.gz
rneovim-ece8d88b105d6c809648ad80280e7e3edb935410.tar.bz2
rneovim-ece8d88b105d6c809648ad80280e7e3edb935410.zip
test/win: Remove unnecessary set shell
Diffstat (limited to 'test/functional/eval/executable_spec.lua')
-rw-r--r--test/functional/eval/executable_spec.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/functional/eval/executable_spec.lua b/test/functional/eval/executable_spec.lua
index 1055675c26..efce0745ad 100644
--- a/test/functional/eval/executable_spec.lua
+++ b/test/functional/eval/executable_spec.lua
@@ -158,13 +158,11 @@ describe('executable() (Windows)', function()
it('returns 1 for any existing filename, when $PATHEXT contain dot itself', function()
clear({env={PATHEXT='.;.zzz'}})
- command('set shell=sh')
for _,ext in ipairs(exts) do
eq(1, call('executable', 'test_executable_'..ext..'.'..ext))
end
eq(1, call('executable', 'test_executable_zzz.zzz'))
clear({env={PATHEXT='.zzz;.'}})
- command('set shell=sh')
for _,ext in ipairs(exts) do
eq(1, call('executable', 'test_executable_'..ext..'.'..ext))
end
@@ -173,7 +171,6 @@ describe('executable() (Windows)', function()
it('returns 1 for any existing path, when $PATHEXT contain dot itself (backslashes)', function()
clear({env={PATHEXT='.;.zzz'}})
- command('set shell=bash.exe')
for _,ext in ipairs(exts) do
eq(1, call('executable', '.\\test_executable_'..ext..'.'..ext))
eq(1, call('executable', './test_executable_'..ext..'.'..ext))