mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-19 05:40:03 +08:00
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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user