From efd45cf3964432e65a49b09d2aecdec6a29e97c1 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sat, 18 Apr 2026 14:03:51 +0800 Subject: [PATCH] fix: assert WriteFile/MkdirTemp/RemoveAll/CopyDir in DefaultFileSystem test Signed-off-by: yxxhero --- pkg/filesystem/fs_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/filesystem/fs_test.go b/pkg/filesystem/fs_test.go index 94219179..d84a03a2 100644 --- a/pkg/filesystem/fs_test.go +++ b/pkg/filesystem/fs_test.go @@ -252,4 +252,8 @@ func TestFs_DefaultBuilder(t *testing.T) { assert.NotNil(t, ffs.Chdir) assert.NotNil(t, ffs.Abs) assert.NotNil(t, ffs.EvalSymlinks) + assert.NotNil(t, ffs.WriteFile) + assert.NotNil(t, ffs.MkdirTemp) + assert.NotNil(t, ffs.RemoveAll) + assert.NotNil(t, ffs.CopyDir) }