MCPcopy Create free account
hub / github.com/crufter/goquery / testParseCase

Function testParseCase

exp/html/parse_test.go:303–373  ·  view source on GitHub ↗

testParseCase tests one test case from the test files. It returns a parseTestResult indicating how much of the test passed. If the result is not parseTestPassed, it also returns an error that explains the failure. text is the HTML to be parsed, want is a dump of the correct parse tree, and context i

(text, want, context string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestParserFunction · 0.85

Calls 5

AddMethod · 0.95
ParseFragmentFunction · 0.85
dumpFunction · 0.85
RenderFunction · 0.85
ParseFunction · 0.70

Tested by

no test coverage detected