fixture updates

This commit is contained in:
ray-x 2023-11-01 02:08:06 +11:00
parent 174f6b0850
commit f1b983addb
2 changed files with 4 additions and 4 deletions

View File

@ -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 })

View File

@ -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)