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
package govetbug
import (
assert "github.com/stretchr/testify/require"
"testing"
)
func TestRandomMergeMapBadRatio(t *testing.T) {
BadRatio := 1
var err error
assert.Error(t, err, "Given bad ratio %d not in range (0,100) but function not fail", BadRatio)
}
then run go vet ./...
What did you expect to see?
main.go:11: possible formatting directive in Error call
exit status 1
What did you see instead?
got empty output.
Then if I run
go install .
go vet ./...
it produces expected error output.
Remove /Users/hvn/FOSS/gomeo/godeps/pkg, run go vet ./..., got empty output again.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7 darwin/amd64
and
go version go1.7 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
write a package:
then run
go vet ./...
What did you expect to see?
What did you see instead?
got empty output.
Then if I run
it produces expected error output.
Remove
/Users/hvn/FOSS/gomeo/godeps/pkg
, rungo vet ./...
, got empty output again.The text was updated successfully, but these errors were encountered: