Test data from https://github.com/akheron/jansson/tree/master/test/suites jansson, Copyright (c) 2009-2014 Petri Lehtinen (MIT Licensed)
(t *testing.T)
| 28 | // (MIT Licensed) |
| 29 | |
| 30 | func TestInvalidBareKey(t *testing.T) { |
| 31 | testExpectedError(t, |
| 32 | &fflib.LexerError{}, |
| 33 | `{X:"foo"}`, |
| 34 | &Xobj{}) |
| 35 | } |
| 36 | |
| 37 | func TestInvalidNoValue(t *testing.T) { |
| 38 | testExpectedError(t, |
nothing calls this directly
no test coverage detected
searching dependent graphs…