fix(spec): duplicate vars
This commit is contained in:
parent
eada64de41
commit
1d95192b7a
1 changed files with 2 additions and 2 deletions
|
|
@ -343,7 +343,7 @@ describe('cp.execute', function()
|
|||
local original_system = vim.system
|
||||
local captured_command = nil
|
||||
|
||||
vim.system = function(cmd, opts)
|
||||
vim.system = function(cmd, _)
|
||||
captured_command = cmd
|
||||
return {
|
||||
wait = function()
|
||||
|
|
@ -373,7 +373,7 @@ describe('cp.execute', function()
|
|||
local original_system = vim.system
|
||||
local test_output = 'STDOUT: Hello\nSTDERR: Error message\n'
|
||||
|
||||
vim.system = function(cmd, opts)
|
||||
vim.system = function(_, _)
|
||||
return {
|
||||
wait = function()
|
||||
return { code = 1, stdout = test_output, stderr = '' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue