Skip to content

Commit

Permalink
storage: Add one more test case to TestFileTypeAnyAllow
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Jul 15, 2022
1 parent e1b02dd commit db9105e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/sealer/storiface/filetype_test.go
Expand Up @@ -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()))
Expand Down

0 comments on commit db9105e

Please sign in to comment.