MCPcopy
hub / github.com/pquerna/ffjson / TestNonUnicodeEscape

Function TestNonUnicodeEscape

fflib/v1/reader_test.go:57–64  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

55}
56
57func TestNonUnicodeEscape(t *testing.T) {
58 var out Buffer
59 ffr := newffReader([]byte(`\t\n\r"`))
60 err := ffr.SliceString(&out)
61 if err != nil {
62 t.Fatalf("unexpected SliceString error: %v", err)
63 }
64}
65
66func TestInvalidEscape(t *testing.T) {
67 var out Buffer

Callers

nothing calls this directly

Calls 3

newffReaderFunction · 0.85
SliceStringMethod · 0.80
FatalfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…