fixture updates

pull/392/head
ray-x 7 months ago
parent 174f6b0850
commit f1b983addb

@ -19,7 +19,7 @@ describe('should run fillstruct', function()
local cmd = " silent exe 'e " .. fname .. "'"
vim.cmd(cmd)
_GO_NVIM_CFG.log_path = ''
-- _GO_NVIM_CFG.log_path = '' -- log to console in github actions
vim.bo.filetype = 'go'
require('plenary.reload').reload_module('go.nvim')
require('go').setup({ verbose = true, lsp_cfg = true })

@ -98,7 +98,7 @@ describe('should run test file', function()
eq({
'go',
'test',
'lua/tests/fixtures/coverage',
'coverage',
'-run',
[['Test_branch|TestBranch|TestBranchSubTest']],
}, cmd)
@ -129,7 +129,7 @@ describe('should run test file with flags', function()
'go',
'test',
'-tags=tag1',
'lua/tests/fixtures/coverage',
'coverage',
'-run',
[['Test_branch|TestBranch|TestBranchSubTest']],
}, cmd)
@ -232,7 +232,7 @@ describe('should run test file with flags inside file', function()
'go',
'test',
'-tags=tag1,integration,unit',
'lua/tests/fixtures/coverage',
'coverage',
'-run',
[['TestTag']],
}, cmd)

Loading…
Cancel
Save