aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/fs_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-23 14:14:45 +0900
committerOphestra <cat@gensokyo.uk>2025-03-23 14:53:50 +0900
commit75e0c5d4061d68dc4802285ec137e464f4e01b17 (patch)
treeb8307fa68188bac4c522afc36c27a5c1fb7c02da /test/sandbox/fs_test.go
parent770b37ae166a18f495865e96ccafc6f9fb9f4e88 (diff)
test/sandbox: parse full test case
This makes declaring multiple tests much cleaner. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/fs_test.go')
-rw-r--r--test/sandbox/fs_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/sandbox/fs_test.go b/test/sandbox/fs_test.go
index 5ac31dff..1262ddac 100644
--- a/test/sandbox/fs_test.go
+++ b/test/sandbox/fs_test.go
@@ -75,10 +75,4 @@ func TestCompare(t *testing.T) {
}
})
}
-
- t.Run("assert", func(t *testing.T) {
- oldFatal := sandbox.SwapFatal(t.Fatalf)
- t.Cleanup(func() { sandbox.SwapFatal(oldFatal) })
- sandbox.MustAssertFS(make(fstest.MapFS), sandbox.MustWantFile(t, &sandbox.FS{Mode: 0xDEADBEEF}))
- })
}