You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.
Having a package handlers with ABCHandler.go filenames and their respective tests with ABCHandler_test.go which have package handlers_test, gofmt does not format code anymore and gometalinter does not point out to errors in code anymore (claiming "No issues" at the bottom of the editor).
If I remove the _test part from the package name in _test.go file, suddenly, both gofmt and gometalinter work...
I didn't find any setting to suppress such (IMHO) invalid behavior.
The text was updated successfully, but these errors were encountered:
shadyyx
changed the title
gofmt nor gometlinter do their job on test files
gofmt nor gometalinter do their job on test files
Mar 24, 2016
Please update to go-plusv4.1.0. builder-go will now try to compile your source (test or otherwise) and report errors that would prevent formatting from occurring.
Having a
package handlers
withABCHandler.go
filenames and their respective tests withABCHandler_test.go
which havepackage handlers_test
, gofmt does not format code anymore and gometalinter does not point out to errors in code anymore (claiming "No issues" at the bottom of the editor).If I remove the
_test
part from the package name in_test.go
file, suddenly, both gofmt and gometalinter work...I didn't find any setting to suppress such (IMHO) invalid behavior.
The text was updated successfully, but these errors were encountered: