Closed
Description
$ go version
go version go1.7.5 darwin/amd64
$ go test github.com/golang/protobuf/...
# testmain
/var/folders/00/0nq68000h01000cxqpysvccm002pws/T/go-build398341187/github.com/golang/protobuf/ptypes/_test/_testmain.go:74: cannot use matchString (type func(string, string) (bool, error)) as type testing.testDeps in argument to testing.MainStart:
func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
# testmain
/var/folders/00/0nq68000h01000cxqpysvccm002pws/T/go-build398341187/github.com/golang/protobuf/descriptor/_test/_testmain.go:56: cannot use matchString (type func(string, string) (bool, error)) as type testing.testDeps in argument to testing.MainStart:
func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
FAIL github.com/golang/protobuf/descriptor [build failed]
# testmain
/var/folders/00/0nq68000h01000cxqpysvccm002pws/T/go-build398341187/github.com/golang/protobuf/jsonpb/_test/_testmain.go:58: cannot use matchString (type func(string, string) (bool, error)) as type testing.testDeps in argument to testing.MainStart:
func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
FAIL github.com/golang/protobuf/jsonpb [build failed]
? github.com/golang/protobuf/jsonpb/jsonpb_test_proto [no test files]
# testmain
/var/folders/00/0nq68000h01000cxqpysvccm002pws/T/go-build398341187/github.com/golang/protobuf/protoc-gen-go/generator/_test/_testmain.go:54: cannot use matchString (type func(string, string) (bool, error)) as type testing.testDeps in argument to testing.MainStart:
func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
# testmain
/var/folders/00/0nq68000h01000cxqpysvccm002pws/T/go-build398341187/github.com/golang/protobuf/proto/_test/_testmain.go:294: cannot use matchString (type func(string, string) (bool, error)) as type testing.testDeps in argument to testing.MainStart:
func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
Same issue with go1.6. As discussed, we'd like to be able to support at least latest 1.6 for now.
Metadata
Metadata
Assignees
Labels
No labels