fixture updates
This commit is contained in:
parent
174f6b0850
commit
f1b983addb
@ -19,7 +19,7 @@ describe('should run fillstruct', function()
|
|||||||
|
|
||||||
local cmd = " silent exe 'e " .. fname .. "'"
|
local cmd = " silent exe 'e " .. fname .. "'"
|
||||||
vim.cmd(cmd)
|
vim.cmd(cmd)
|
||||||
_GO_NVIM_CFG.log_path = ''
|
-- _GO_NVIM_CFG.log_path = '' -- log to console in github actions
|
||||||
vim.bo.filetype = 'go'
|
vim.bo.filetype = 'go'
|
||||||
require('plenary.reload').reload_module('go.nvim')
|
require('plenary.reload').reload_module('go.nvim')
|
||||||
require('go').setup({ verbose = true, lsp_cfg = true })
|
require('go').setup({ verbose = true, lsp_cfg = true })
|
||||||
|
@ -98,7 +98,7 @@ describe('should run test file', function()
|
|||||||
eq({
|
eq({
|
||||||
'go',
|
'go',
|
||||||
'test',
|
'test',
|
||||||
'lua/tests/fixtures/coverage',
|
'coverage',
|
||||||
'-run',
|
'-run',
|
||||||
[['Test_branch|TestBranch|TestBranchSubTest']],
|
[['Test_branch|TestBranch|TestBranchSubTest']],
|
||||||
}, cmd)
|
}, cmd)
|
||||||
@ -129,7 +129,7 @@ describe('should run test file with flags', function()
|
|||||||
'go',
|
'go',
|
||||||
'test',
|
'test',
|
||||||
'-tags=tag1',
|
'-tags=tag1',
|
||||||
'lua/tests/fixtures/coverage',
|
'coverage',
|
||||||
'-run',
|
'-run',
|
||||||
[['Test_branch|TestBranch|TestBranchSubTest']],
|
[['Test_branch|TestBranch|TestBranchSubTest']],
|
||||||
}, cmd)
|
}, cmd)
|
||||||
@ -232,7 +232,7 @@ describe('should run test file with flags inside file', function()
|
|||||||
'go',
|
'go',
|
||||||
'test',
|
'test',
|
||||||
'-tags=tag1,integration,unit',
|
'-tags=tag1,integration,unit',
|
||||||
'lua/tests/fixtures/coverage',
|
'coverage',
|
||||||
'-run',
|
'-run',
|
||||||
[['TestTag']],
|
[['TestTag']],
|
||||||
}, cmd)
|
}, cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user