fredrikaverpil / neotest-golang

Reliable Neotest adapter for running Go tests in Neovim.
MIT License
139 stars 17 forks source link

fix: added go_list_args option to configuration #171

Closed augbed closed 2 months ago

augbed commented 2 months ago

Hello!

Decided to fix the issue that I encountered when trying to run some tests with build tags.

Not the most elegant solution but I needed to fix it quick so thought I would share it since it does the job. There also might be other arguments from go test that would need to be passed to go list for it to work properly.

Edit: as per suggestion in issue I changed the parsing of go_list_args to user option in configuration

fredrikaverpil commented 2 months ago

@augbed I'm sorry, I really don't understand what just happened. I just checked out the PR and commited a fix for the linting issues. Then I wanted to push this to your fork with git push https://github.com/augbed/neotest-golang.git main --force-with-lease (because I squashed together a bunch of fixes). However this somehow reseted your fork completely and automatically closed this PR.

Anyway, I opened a new PR (with your commits) in #172 and merged it.