Aaah, got it. I had updated GOROOT for 1.8 and then hadn't changed it back.
sorry for wasting your time. But I found the solution long after I faced it but as soon as I posted it publicly. Figures. On Wednesday, 15 March 2017 01:35:50 UTC+5:30, Sathish VJ wrote: > > Ok, I don't know what exactly went wrong here. But I had sometime > previously downloaded a version of go1.8 to test it out. If I explicitly > run the tests with that, it runs fine. > > ~/golang/go1.8/bin/go test > > Is there any reason why there is a conflict on my system? I don't > remember making any updates other than downloading 1.8 it to a folder and > trying a basic hello world with it. > > On Wednesday, 15 March 2017 01:26:27 UTC+5:30, Sathish VJ wrote: >> >> I'm trying to run test on a library that I haven't updated since mid Jan >> (based on my git log). I know for a fact that I ran tests on the same >> project during a demo/workshop in february. I try to run the tests now and >> am seeing the error below: >> >> master ± go test >> # testmain >> /var/folders/ns/kwlq7kfs64z97kyw47lghplr0000gn/T/go-build269297204/ >> bitbucket.org/me/myproject/_test/_testmain.go:52: 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) >> >> My go version is: go version go1.7.1 darwin/amd64 >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.