From 0e6c1a50260de141c50bb50fd3f2b2bcf9a3fe64 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 20:06:26 +0900 Subject: container/check: move absolute pathname This allows use of absolute pathname values without importing container. Signed-off-by: Ophestra --- internal/path_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/path_test.go') diff --git a/internal/path_test.go b/internal/path_test.go index 97a8f926..cb4571ef 100644 --- a/internal/path_test.go +++ b/internal/path_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "hakurei.app/container" + "hakurei.app/container/check" ) func TestMustCheckPath(t *testing.T) { @@ -35,7 +35,7 @@ func TestMustCheckPath(t *testing.T) { } } - if got := mustCheckPath(fatal, "test", tc.pathname); got != nil && !reflect.DeepEqual(got, container.MustAbs(tc.pathname)) { + if got := mustCheckPath(fatal, "test", tc.pathname); got != nil && !reflect.DeepEqual(got, check.MustAbs(tc.pathname)) { t.Errorf("mustCheckPath: %q", got) } }) -- cgit v1.3.1