MCPcopy Create free account
hub / github.com/denoland/std / assertValidParse

Function assertValidParse

jsonc/parse_test.ts:16–18  ·  view source on GitHub ↗
(text: string, expected: unknown)

Source from the content-addressed store, hash-verified

14// The test code for the jsonc module can also be found in the testcode directory.
15
16function assertValidParse(text: string, expected: unknown) {
17 assertEquals(parse(text), expected);
18}
19
20function assertInvalidParse(
21 text: string,

Callers 4

fnFunction · 0.90
fnFunction · 0.90
fnFunction · 0.70
parse_test.tsFile · 0.70

Calls 2

assertEqualsFunction · 0.90
parseFunction · 0.90

Tested by

no test coverage detected