diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-06-27 07:03:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 22:03:06 -0700 |
commit | e2f9d0332b673431d79f0db9386956055674006b (patch) | |
tree | 8062292332fdd788791b2a8c2a692359927ed02b /test/functional/vimscript/system_spec.lua | |
parent | a0a815ec57ec241bd9d7db139eb2591bf5ef24ac (diff) | |
download | rneovim-e2f9d0332b673431d79f0db9386956055674006b.tar.gz rneovim-e2f9d0332b673431d79f0db9386956055674006b.tar.bz2 rneovim-e2f9d0332b673431d79f0db9386956055674006b.zip |
test: use "python3" to avoid skipped test #19106
Problem:
The "calls executable in $PATH" is skipped on some CI jobs because
"python" is not found.
Solution:
Use "python3" instead.
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
-rw-r--r-- | test/functional/vimscript/system_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/vimscript/system_spec.lua b/test/functional/vimscript/system_spec.lua index 49b48fecd9..c915556c57 100644 --- a/test/functional/vimscript/system_spec.lua +++ b/test/functional/vimscript/system_spec.lua @@ -79,8 +79,8 @@ describe('system()', function() end) it('calls executable in $PATH', function() - if 0 == eval("executable('python')") then pending("missing `python`") end - eq("foo\n", eval([[system(['python', '-c', 'print("foo")'])]])) + if 0 == eval("executable('python3')") then pending("missing `python3`") end + eq("foo\n", eval([[system(['python3', '-c', 'print("foo")'])]])) eq(0, eval('v:shell_error')) end) @@ -175,7 +175,7 @@ describe('system()', function() it('powershell w/ UTF-8 text #13713', function() if not helpers.has_powershell() then - pending("not tested; powershell was not found", function() end) + pending("powershell not found", function() end) return end helpers.set_shell_powershell() @@ -613,7 +613,7 @@ describe('systemlist()', function() it('powershell w/ UTF-8 text #13713', function() if not helpers.has_powershell() then - pending("not tested; powershell was not found", function() end) + pending("powershell not found", function() end) return end helpers.set_shell_powershell() |