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, 3 insertions, 0 deletions
diff --git a/container/errors_test.go b/container/errors_test.go
index df69c4b1..45a5fcde 100644
--- a/container/errors_test.go
+++ b/container/errors_test.go
@@ -162,3 +162,6 @@ func TestErrnoFallback(t *testing.T) {
})
}
}
+
+// InternalMessageFromError exports messageFromError for other tests.
+func InternalMessageFromError(err error) (string, bool) { return messageFromError(err) }