Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSetPredictionHeaders (0.09 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			}
    			if got := lc.HasActiveRules(tc.prefix); got != tc.want {
    				t.Fatalf("Expected result: `%v`, got: `%v`", tc.want, got)
    			}
    		})
    	}
    }
    
    func TestSetPredictionHeaders(t *testing.T) {
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "rule-1",
    				Status: "Enabled",
    				Expiration: Expiration{
    					Days: ExpirationDays(3),
    					set:  true,
    				},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top