juju/errors — pull request #1 by davecheney (2014-05-13 06:19:02+00:00)
Title: Fix replaceLocation to be more robust.

For some reason running the tests under the cover tool was causing the *entire* source path, not just the bit from `$GOPATH/src` to appear.

As there really isn't any guarantee what will be returned from runtime.Callers (you should see gccgo), make the test a bit more liberal in what we accept.