summaryrefslogtreecommitdiff
path: root/libgo/go/exec/lp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/exec/lp_test.go')
-rw-r--r--libgo/go/exec/lp_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/exec/lp_test.go b/libgo/go/exec/lp_test.go
index 54081771ecc..77d8e848c74 100644
--- a/libgo/go/exec/lp_test.go
+++ b/libgo/go/exec/lp_test.go
@@ -22,12 +22,12 @@ func TestLookPathNotFound(t *testing.T) {
if path != "" {
t.Fatalf("LookPath path == %q when err != nil", path)
}
- perr, ok := err.(*PathError)
+ perr, ok := err.(*Error)
if !ok {
- t.Fatal("LookPath error is not a PathError")
+ t.Fatal("LookPath error is not an exec.Error")
}
if perr.Name != name {
- t.Fatalf("want PathError name %q, got %q", name, perr.Name)
+ t.Fatalf("want Error name %q, got %q", name, perr.Name)
}
}
}