From e9a72490db44426605debd3cc756a7924931d706 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 17 Mar 2026 15:16:46 +0900 Subject: vfs: move from container This package is not container-specific. Signed-off-by: Ophestra --- container/vfs/mangle_test.go | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 container/vfs/mangle_test.go (limited to 'container/vfs/mangle_test.go') diff --git a/container/vfs/mangle_test.go b/container/vfs/mangle_test.go deleted file mode 100644 index 0227e8e1..00000000 --- a/container/vfs/mangle_test.go +++ /dev/null @@ -1,30 +0,0 @@ -package vfs_test - -import ( - "testing" - - "hakurei.app/container/vfs" -) - -func TestUnmangle(t *testing.T) { - t.Parallel() - - testCases := []struct { - want string - sample string - }{ - {`\, `, `\134\054\040`}, - {`(10) source -- maybe empty string`, `(10)\040source\040--\040maybe empty string`}, - } - - for _, tc := range testCases { - t.Run(tc.want, func(t *testing.T) { - t.Parallel() - got := vfs.Unmangle(tc.sample) - if got != tc.want { - t.Errorf("Unmangle: %q, want %q", - got, tc.want) - } - }) - } -} -- cgit v1.3.1