aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/errors_test.go')
-rw-r--r--container/errors_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/container/errors_test.go b/container/errors_test.go
index fd774a42..c2d3fa7a 100644
--- a/container/errors_test.go
+++ b/container/errors_test.go
@@ -8,6 +8,7 @@ import (
"syscall"
"testing"
+ "hakurei.app/container/check"
"hakurei.app/container/stub"
"hakurei.app/container/vfs"
)
@@ -34,7 +35,7 @@ func TestMessageFromError(t *testing.T) {
Err: stub.UniqueError(0xdeadbeef),
}, "cannot mount /sysroot: unique error 3735928559 injected by the test suite", true},
- {"absolute", &AbsoluteError{"etc/mtab"},
+ {"absolute", &check.AbsoluteError{Pathname: "etc/mtab"},
`path "etc/mtab" is not absolute`, true},
{"repeat", OpRepeatError("autoetc"),