| Index: vpython/venv/venv_test.go
|
| diff --git a/vpython/venv/venv_test.go b/vpython/venv/venv_test.go
|
| index 8d2fe2a8b365dc25acdbf633694ae066bef78eed..947b53e99b59c3a4444858f9f89447c907903276 100644
|
| --- a/vpython/venv/venv_test.go
|
| +++ b/vpython/venv/venv_test.go
|
| @@ -267,10 +267,10 @@ func TestVirtualEnv(t *testing.T) {
|
| func loadJSON(path string, dst interface{}) error {
|
| content, err := ioutil.ReadFile(path)
|
| if err != nil {
|
| - return errors.Annotate(err).Reason("failed to open file").Err()
|
| + return errors.Annotate(err, "failed to open file").Err()
|
| }
|
| if err := json.Unmarshal(content, dst); err != nil {
|
| - return errors.Annotate(err).Reason("failed to unmarshal JSON").Err()
|
| + return errors.Annotate(err, "failed to unmarshal JSON").Err()
|
| }
|
| return nil
|
| }
|
|
|