Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsEncrypted (0.06 sec)

  1. internal/crypto/metadata_test.go

    	{Encrypted: false, Metadata: map[string]string{"": ""}},                                        // 7
    	{Encrypted: false, Metadata: map[string]string{"X-Minio-Internal-Server-Side-Encryption": ""}}, // 8
    }
    
    func TestIsEncrypted(t *testing.T) {
    	for i, test := range isEncryptedTests {
    		if _, isEncrypted := IsEncrypted(test.Metadata); isEncrypted != test.Encrypted {
    			t.Errorf("Test %d: got '%v' - want '%v'", i, isEncrypted, test.Encrypted)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top