MCPcopy Create free account
hub / github.com/alibaba/open-code-review / noLine

Function noLine

scripts/github-actions/post-review-comments.test.js:6811–6811  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

6809async function testResolveVetoScopeMatchesWhatTheFindingLeftUnknown() {
6810 const placed = (path, line) => ({ path, content: `finding on ${path}`, start_line: line, end_line: line });
6811 const noLine = (path) => ({ path, content: "no line information at all", start_line: 0, end_line: 0 });
6812 const noPath = { content: "which file?", start_line: 99, end_line: 99 };
6813 // Two stale threads on two paths, neither overlapping any finding below, so
6814 // every case starts from "both are resolvable" and loses only what it should.

Calls

no outgoing calls

Tested by

no test coverage detected