Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestFields (0.43 seconds)

  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 {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top