Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFields (0.11 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 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top