MCPcopy Create free account
hub / github.com/buger/jsonparser / TestCodeMCDC_TokenEndTab

Function TestCodeMCDC_TokenEndTab

mcdc_code_supplement_test.go:115–121  ·  view source on GitHub ↗

Verifies: SYS-REQ-001 [mcdc]

(t *testing.T)

Source from the content-addressed store, hash-verified

113
114// Verifies: SYS-REQ-001 [mcdc]
115func TestCodeMCDC_TokenEndTab(t *testing.T) {
116 // A bare scalar terminated by TAB drives the c != 9 branch in tokenEnd
117 // (parser.go:53).
118 if _, _, _, err := Get([]byte("1\t")); err != nil {
119 t.Fatalf("Get returned error: %v", err)
120 }
121}
122
123// -----------------------------------------------------------------------------
124// createInsertComponent / calcAllocateSpace — direct call to drive the

Callers

nothing calls this directly

Calls 1

GetFunction · 0.85

Tested by

no test coverage detected