Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Trimall (0.18 sec)

  1. cmd/signature-v4-utils_test.go

    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    }
    
    // TestSignV4TrimAll - tests the logic of TrimAll() function
    func TestSignV4TrimAll(t *testing.T) {
    	testCases := []struct {
    		// Input.
    		inputStr string
    		// Expected result.
    		result string
    	}{
    		{"本語", "本語"},
    		{" abc ", "abc"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
Back to top