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

Function TestInvalidBareKey

tests/ff_obj_test.go:30–35  ·  view source on GitHub ↗

Test data from https://github.com/akheron/jansson/tree/master/test/suites jansson, Copyright (c) 2009-2014 Petri Lehtinen (MIT Licensed)

(t *testing.T)

Source from the content-addressed store, hash-verified

28// (MIT Licensed)
29
30func TestInvalidBareKey(t *testing.T) {
31 testExpectedError(t,
32 &fflib.LexerError{},
33 `{X:"foo"}`,
34 &Xobj{})
35}
36
37func TestInvalidNoValue(t *testing.T) {
38 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…