MCPcopy Index your code
hub / github.com/pquerna/ffjson / TestInvalidMissingColon

Function TestInvalidMissingColon

tests/ff_obj_test.go:65–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

63}
64
65func TestInvalidMissingColon(t *testing.T) {
66 testExpectedError(t,
67 &fflib.LexerError{},
68 `{"X""foo"}`,
69 &Xobj{})
70 testExpectedError(t,
71 &fflib.LexerError{},
72 `{"X" "foo"}`,
73 &Xobj{})
74 testExpectedError(t,
75 &fflib.LexerError{},
76 `{"X","foo"}`,
77 &Xobj{})
78}
79
80func TestInvalidUnmatchedBrace(t *testing.T) {
81 testExpectedError(t,

Callers

nothing calls this directly

Calls 1

testExpectedErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…