(t *testing.T)
| 992 | } |
| 993 | |
| 994 | func TestMarshalBadUTF8(t *testing.T) { |
| 995 | for _, tt := range badUTF8 { |
| 996 | b, err := Marshal(tt.in) |
| 997 | if string(b) != tt.out || err != nil { |
| 998 | t.Errorf("Marshal(%q) = %#q, %v, want %#q, nil", tt.in, b, err, tt.out) |
| 999 | } |
| 1000 | } |
| 1001 | } |
| 1002 | |
| 1003 | func TestMarshalNumberZeroVal(t *testing.T) { |
| 1004 | var n Number |
nothing calls this directly
no test coverage detected
searching dependent graphs…