From f3d778a07980132ddb10f94b6a895b33c83127d5 Mon Sep 17 00:00:00 2001 From: lppp04808 Date: Mon, 2 Mar 2026 16:27:42 +0800 Subject: [PATCH] Update filesystem_test.go --- pkg/tools/filesystem_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tools/filesystem_test.go b/pkg/tools/filesystem_test.go index 1b4bd6fff..b6b93db7f 100644 --- a/pkg/tools/filesystem_test.go +++ b/pkg/tools/filesystem_test.go @@ -544,6 +544,7 @@ func TestConcurrencyUpgradeable(t *testing.T) { // Ensure the internal fs is now a *ConcurrentFS _, isConcurrent := upgradedReadTool.fs.(*ConcurrentFS) assert.True(t, isConcurrent, "Internal fileSystem should be upgraded to *ConcurrentFS") +} // TestWhitelistFs_AllowsMatchingPaths verifies that whitelistFs allows access to // paths matching the whitelist patterns while blocking non-matching paths. func TestWhitelistFs_AllowsMatchingPaths(t *testing.T) {