(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestAppendString(t *testing.T) { |
| 10 | for _, tt := range internal.EncodeStringTests { |
| 11 | b := enc.AppendString([]byte{}, tt.In) |
| 12 | if got, want := string(b), tt.Out; got != want { |
| 13 | t.Errorf("appendString(%q) = %#q, want %#q", tt.In, got, want) |
| 14 | } |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestAppendStrings(t *testing.T) { |
| 19 | for _, tt := range internal.EncodeStringsTests { |
nothing calls this directly
no test coverage detected