Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEncodeQuery (0.17 sec)

  1. src/net/url/url_test.go

    	{Values{
    		"a": {"a1", "a2", "a3"},
    		"b": {"b1", "b2", "b3"},
    		"c": {"c1", "c2", "c3"},
    	}, "a=a1&a=a2&a=a3&b=b1&b=b2&b=b3&c=c1&c=c2&c=c3"},
    }
    
    func TestEncodeQuery(t *testing.T) {
    	for _, tt := range encodeQueryTests {
    		if q := tt.m.Encode(); q != tt.expected {
    			t.Errorf(`EncodeQuery(%+v) = %q, want %q`, tt.m, q, tt.expected)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top