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

Function TestUnicode

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

Source from the content-addressed store, hash-verified

35}
36
37func TestUnicode(t *testing.T) {
38 var testvecs = map[string]string{
39 "€": `\u20AC`,
40 "𐐷": `\uD801\uDC37`,
41 }
42
43 for k, v := range testvecs {
44 tsliceString(t, k, v)
45 }
46}
47
48func TestBadUnicode(t *testing.T) {
49 var out Buffer

Callers

nothing calls this directly

Calls 1

tsliceStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…