MCPcopy Create free account
hub / github.com/pquerna/ffjson / TestStringEsccapes

Function TestStringEsccapes

tests/ff_string_test.go:81–91  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

79}
80
81func TestStringEsccapes(t *testing.T) {
82 testExpectedXVal(t,
83 `"\`+"\b\f\n\r\t",
84 `\"\\\b\f\n\r\t`,
85 &Xstring{})
86
87 testExpectedXVal(t,
88 `/`,
89 `\/`,
90 &Xstring{})
91}
92
93func TestStringSomeUTF8(t *testing.T) {
94 testExpectedXVal(t,

Callers

nothing calls this directly

Calls 1

testExpectedXValFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…