diff --git a/storage/sealer/storiface/filetype_test.go b/storage/sealer/storiface/filetype_test.go index 7f51e8cb7..62ba59e92 100644 --- a/storage/sealer/storiface/filetype_test.go +++ b/storage/sealer/storiface/filetype_test.go @@ -32,6 +32,7 @@ func TestFileTypeAnyAllow(t *testing.T) { // one denied require.False(t, FTCache.AnyAllowed(nil, (FTCache).Strings())) + require.True(t, FTCache.AnyAllowed(nil, (FTUnsealed).Strings())) // one denied, one allowed = allowed require.True(t, (FTCache|FTUpdateCache).AnyAllowed(nil, (FTCache).Strings()))