Skip to content

gogo-protobuf go version compability test

gogo protobuf version: v1.3.2

go 1.16

rrcheck ./test/...
go get
go vet ./...
test/stdtypes/concurrency_test.go:26:5: call to (*T).Fatal from a non-test goroutine
make: *** [Makefile:153: vet] Error 2

I fix it, and run again. No error now.

go 1.17.2

ok	0.027s
--- FAIL: TestStdTypesGoString (0.00s)
    stdtypespb_test.go:611: 1:39: expected operand, found '<' (and 1 more errors)
FAIL	0.018s
ok	0.029s

But when i just run make again , just show the go vet error which showed in go1.16. Fix it and run again, everything seems fine.

?	[no test files]
?	[no test files]
?	[no test files]
(cd test/stdtypes && make test)
make[1]: Entering directory '/home/daomin/.gvm/pkgsets/go1.17.2/global/src/'
go test -race -run=TestConcurrentTextMarshal .
ok	0.019s
make[1]: Leaving directory '/home/daomin/.gvm/pkgsets/go1.17.2/global/src/'
go get
errcheck ./test/...
go get
go vet ./...
go vet -vettool=/home/daomin/.gvm/pkgsets/go1.17.2/global/bin/shadow ./...
Published ingolang

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *