Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDescribeConflict (0.15 sec)

  1. src/net/http/pattern_test.go

    		got = "<nil>"
    	} else {
    		got = err.Error()
    	}
    	want := "matches the same requests as"
    	if !strings.Contains(got, want) {
    		t.Errorf("got\n%s\nwant\n%s", got, want)
    	}
    }
    
    func TestDescribeConflict(t *testing.T) {
    	for _, test := range []struct {
    		p1, p2 string
    		want   string
    	}{
    		{"/a/{x}", "/a/{y}", "the same requests"},
    		{"/", "/{m...}", "the same requests"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top