Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for title (0.13 sec)

  1. src/bytes/bytes_test.go

    	{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
    }
    
    func TestTitle(t *testing.T) {
    	for _, tt := range TitleTests {
    		if s := string(Title([]byte(tt.in))); s != tt.out {
    			t.Errorf("Title(%q) = %q, want %q", tt.in, s, tt.out)
    		}
    	}
    }
    
    var ToTitleTests = []TitleTest{
    	{"", ""},
    	{"a", "A"},
    	{" aaa aaa aaa ", " AAA AAA AAA "},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top