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

Function TestInvalidApostrophe

tests/ff_invalid_test.go:31–36  ·  view source on GitHub ↗

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

(t *testing.T)

Source from the content-addressed store, hash-verified

29// (MIT Licensed)
30
31func TestInvalidApostrophe(t *testing.T) {
32 testExpectedError(t,
33 &fflib.LexerError{},
34 `'`,
35 &Xstring{})
36}
37
38func TestInvalidASCIIUnicodeIdentifier(t *testing.T) {
39 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…