Skip to content

Commit

Permalink
perf: run 'go test' from parent dir of file, not from go.mod path
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jan 4, 2025
1 parent dd51648 commit 56bfcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest-golang/runspec/file.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function M.build(pos, tree, strategy)
--- @type neotest.RunSpec
local run_spec = {
command = test_cmd,
cwd = go_mod_folderpath,
cwd = pos_path_folderpath,
context = context,
}

Expand Down

0 comments on commit 56bfcb4

Please sign in to comment.