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

Function TestCodeMCDC_LastTokenSpace

mcdc_code_supplement_test.go:84–89  ·  view source on GitHub ↗

Verifies: SYS-REQ-009 [mcdc]

(t *testing.T)

Source from the content-addressed store, hash-verified

82
83// Verifies: SYS-REQ-009 [mcdc]
84func TestCodeMCDC_LastTokenSpace(t *testing.T) {
85 // Space is the already-covered T branch; keep it as the baseline row.
86 if _, err := Set([]byte("{\"a\":1} "), []byte(`42`), "b"); err != nil {
87 t.Fatalf("Set returned error: %v", err)
88 }
89}
90
91// Verifies: SYS-REQ-001 [mcdc]
92func TestCodeMCDC_TokenStartNewline(t *testing.T) {

Callers

nothing calls this directly

Calls 1

SetFunction · 0.85

Tested by

no test coverage detected