Skip to content

Commit

Permalink
go mod setup for fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed Oct 31, 2023
1 parent 561e9f7 commit 220c57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/tests/go_make_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('should run func make', function()
local cmd = require('go.asyncmake').make('go', 'vet', './coverage')
print(vim.inspect(cmd))

eq({ 'go', 'vet', '.' }, cmd)
eq({ 'go', 'vet', './coverage' }, cmd)
end)
it('should make function inside a source code', function()
--
Expand All @@ -44,6 +44,6 @@ describe('should run func make', function()
vim.fn.setpos('.', { 0, 6, 11, 0 })
local cmd = require('go.asyncmake').make('go', 'test', './coverage')

eq({ 'go', 'test', 'coverage' }, cmd)
eq({ 'go', 'test', './coverage' }, cmd)
end)
end)

0 comments on commit 220c57d

Please sign in to comment.