Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/html/template/url_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package template
    
    import (
    	"testing"
    )
    
    func TestURLNormalizer(t *testing.T) {
    	tests := []struct {
    		url, want string
    	}{
    		{"", ""},
    		{
    			"http://example.com:80/foo/bar?q=foo%20&bar=x+y#frag",
    			"http://example.com:80/foo/bar?q=foo%20&bar=x+y#frag",
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top