Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FieldsFuncSeq (0.17 sec)

  1. src/bytes/bytes_test.go

    		if !slices.Equal(result, tt.a) {
    			t.Errorf("FieldsFunc(%q) = %v, want %v", tt.s, a, tt.a)
    		}
    
    		result2 := sliceOfString(collect(t, FieldsFuncSeq([]byte(tt.s), pred)))
    		if !slices.Equal(result2, tt.a) {
    			t.Errorf(`collect(FieldsFuncSeq(%q)) = %v; want %v`, tt.s, result2, tt.a)
    		}
    
    		if string(b) != tt.s {
    			t.Errorf("slice changed to %s; want %s", b, tt.s)
    		}
    		if len(tt.a) > 0 {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top