MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / TestConvertJSONString

Function TestConvertJSONString

base/util_test.go:45–48  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

43}
44
45func TestConvertJSONString(t *testing.T) {
46 assert.Equal(t, "blah", ConvertJSONString(`"blah"`))
47 assert.Equal(t, "blah", ConvertJSONString("blah"))
48}
49
50func TestJSONStringUtils(t *testing.T) {
51 tests := []struct {

Callers

nothing calls this directly

Calls 2

ConvertJSONStringFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected