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
It seems the scanner tests are excluded ... well a lot of tests tbh.
Im trying to fix a bug but the tests I wish to run are not included in the build ?
go test ./...
its all about the // +build !go1.11 which from the go lang doc is not an operating system and will make the test be skipped like ignore. maybe NOT(go1.11) was intended or just go1.12 ?
"
To keep a file from being considered for the build:
// +build ignore
(any other unsatisfied word will work as well, but “ignore” is conventional.)
"
I would suggest removing the // +build tag altogether.
The text was updated successfully, but these errors were encountered:
For go 1.11+ we use moduels in the codescan package.
That build tag says for anything below go1.11. this is actually intended because for the newer go versions we use a different package that is module aware
Problem statement
It seems the scanner tests are excluded ... well a lot of tests tbh.
Im trying to fix a bug but the tests I wish to run are not included in the build ?
go test ./...
its all about the
// +build !go1.11
which from the go lang doc is not an operating system and will make the test be skipped like ignore. maybeNOT(go1.11)
was intended or justgo1.12
?"
To keep a file from being considered for the build:
(any other unsatisfied word will work as well, but “ignore” is conventional.)
"
I would suggest removing the
// +build
tag altogether.The text was updated successfully, but these errors were encountered: