tests/test_mcp.c: remove trace_path JSON trailing spaces

The restored structured-evidence request retained two trailing spaces at split string literals, which clang-format rejects. Remove the source whitespace without changing the JSON request bytes.

Verification: CBM_ONLY_SUITE=mcp CBM_ONLY_TEST=tool_trace_path_evidence_is_opt_in_and_class_mapped ./build/c/test-runner (1 passed, 361 filtered).
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
This commit is contained in:
Andrew Hundt
2026-08-12 22:10:20 -04:00
parent 2a1724fa54
commit 07255cfe21
+2 -2
View File
@@ -6771,8 +6771,8 @@ TEST(tool_trace_path_evidence_is_opt_in_and_class_mapped) {
/* Structured output promises the same opt-in evidence as TOON. */
char *ev_json = cbm_mcp_server_handle(
srv, "{\"jsonrpc\":\"2.0\",\"id\":93,\"method\":\"tools/call\","
"\"params\":{\"name\":\"trace_path\",\"arguments\":{\"function_name\":\"caller\","
srv, "{\"jsonrpc\":\"2.0\",\"id\":93,\"method\":\"tools/call\","
"\"params\":{\"name\":\"trace_path\",\"arguments\":{\"function_name\":\"caller\","
"\"project\":\"ev-proj\",\"direction\":\"outbound\",\"include_evidence\":true,"
"\"format\":\"json\"}}}");
ASSERT_NOT_NULL(ev_json);