github-actions · GitHub

@github-actions

…ntryToTimelineEvent
Adds targeted unit tests for three low-coverage pure functions selected
by PureLock:
- mapdeletecheck.sameExpr: type-checks small in-memory source snippets
  and exercises every ast.Expr branch (Ident, BasicLit, ParenExpr,
  SelectorExpr, StarExpr, IndexExpr, default).
- cli.addAllowedToNetwork: exercises insertion before a top-level
  sibling, append-at-end, empty domain list, no network block, nested
  network blocks, and comment/blank lines inside the block.
- cli.rpcEntryToTimelineEvent: covers DIFC_FILTERED conversion,
  REQUEST direction filtering, tools/call payload parsing (valid and
  malformed), and rejection of unknown timestamps/entry types.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Read the original on github.com ↗