Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for textFields (0.21 sec)

  1. src/bytes/bytes_test.go

    	{"1\u20002\u20013\u20024", []string{"1", "2", "3", "4"}},
    	{"\u2000\u2001\u2002", []string{}},
    	{"\n™\t™\n", []string{"™", "™"}},
    	{faces, []string{faces}},
    }
    
    func TestFields(t *testing.T) {
    	for _, tt := range fieldstests {
    		b := []byte(tt.s)
    		a := Fields(b)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    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