Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExcludedPrefixesMatch (0.21 sec)

  1. internal/bucket/versioning/versioning_test.go

    	for i, prefix := range testPrefixes {
    		if !v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix) {
    			t.Fatalf("Test %d: Expected versioning to be enabled for %s", i+1, prefix)
    		}
    	}
    }
    
    func TestExcludedPrefixesMatch(t *testing.T) {
    	v := Versioning{
    		Status:           Enabled,
    		ExcludedPrefixes: []ExcludedPrefix{{"*/_temporary/"}},
    	}
    
    	if err := v.Validate(); err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top