MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / TestJSONString

Function TestJSONString

types/json_test.go:9–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestJSONString(t *testing.T) {
10 t.Parallel()
11
12 j := JSON("hello")
13 if j.String() != "hello" {
14 t.Errorf("Expected %q, got %s", "hello", j.String())
15 }
16}
17
18func TestJSONUnmarshal(t *testing.T) {
19 t.Parallel()

Callers

nothing calls this directly

Calls 2

JSONTypeAlias · 0.85
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…