qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

Running withmock returns an lstat error #1

Closed imosquera closed 10 years ago

imosquera commented 10 years ago

when running withmock it returns the following error:

I'm running: withmock go test ./... ERROR: lstat /usr/local/Cellar/go/1.1.1/pkg/linux_amd64: no such file or directory

using "go test ./..." works fine.

qur commented 10 years ago

What does "go env" say?

qur commented 10 years ago

I forgot that I had hardcoded the os/arch, so if linux_amd64 is wrong for you then hopefully it should work now ...

imosquera commented 10 years ago

Okay, let me give it a shot!

imosquera commented 10 years ago

Yup, it's working now. Thanks for the quick fix.