(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestAppendStrings(t *testing.T) { |
| 19 | for _, tt := range internal.EncodeStringsTests { |
| 20 | b := enc.AppendStrings([]byte{}, tt.In) |
| 21 | if got, want := string(b), tt.Out; got != want { |
| 22 | t.Errorf("appendStrings(%q) = %#q, want %#q", tt.In, got, want) |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func TestAppendStringer(t *testing.T) { |
| 28 | oldJSONMarshalFunc := JSONMarshalFunc |
nothing calls this directly
no test coverage detected