aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/check
diff options
context:
space:
mode:
Diffstat (limited to 'container/check')
-rw-r--r--container/check/absolute_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/container/check/absolute_test.go b/container/check/absolute_test.go
index 466bbacb..91cd3c92 100644
--- a/container/check/absolute_test.go
+++ b/container/check/absolute_test.go
@@ -14,8 +14,10 @@ import (
. "hakurei.app/container/check"
)
+// unsafeAbs returns check.Absolute on any string value.
+//
//go:linkname unsafeAbs hakurei.app/container/check.unsafeAbs
-func unsafeAbs(_ string) *Absolute
+func unsafeAbs(pathname string) *Absolute
func TestAbsoluteError(t *testing.T) {
t.Parallel()