gh#211: ordinary values still work, taken literally

Tests › tests/unit/mcp/servers/git_injection_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/mcp/servers/git_injection_test.cpp:120 · its file's page

What it checks (4)

  1. CHECK(run(git, "add", {{"files", "b.txt c.txt"}})["exit_code"] == 0) observes run
  2. CHECK(run(git, "commit", {{"message", msg}})["exit_code"] == 0) observes run
  3. CHECK(log["output"].get<std::string>().find(msg) != std::string::npos) observes run via log
  4. CHECK(run(git, "branch", {{"name", "feature/x"}})["exit_code"] == 0) observes run

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

gh#211: ordinary values still work, taken literally→run

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

gh#211: ordinary values still work, taken literally · 4 checksrunexecuteREQ-MCP-001 · inferredrunexecuteREQ-MCP-002 · inferredrunexecutedispatchREQ-MCP-003 · inferredrunexecutenormalize_argsREQ-MCP-013 · inferred
Also reaches 4 requirements

Its run touches their code; that is reach, not proof.