Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetObjectRetentionMeta (0.15 sec)

  1. internal/bucket/object/lock/lock_test.go

    		} else if tt.expectedErr.Error() != err.Error() {
    			t.Fatalf("Case %d error: expected = %v, got = %v", i, tt.expectedErr, err)
    		}
    	}
    }
    
    func TestGetObjectRetentionMeta(t *testing.T) {
    	tests := []struct {
    		metadata map[string]string
    		expected ObjectRetention
    	}{
    		{
    			metadata: map[string]string{
    				"Authorization":        "AWS4-HMAC-SHA256 <cred_string>",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top