Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestIsValidRegion (0.35 seconds)

  1. cmd/signature-v4-utils_test.go

    			t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult)
    		}
    	}
    }
    
    // TestIsValidRegion - Tests validate the comparison logic for asserting whether the region from http request is valid.
    func TestIsValidRegion(t *testing.T) {
    	testCases := []struct {
    		inputReqRegion  string
    		inputConfRegion string
    
    		expectedResult bool
    	}{
    		{"", "", true},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top