mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00: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:
1 parent
2a1724fa54
commit
07255cfe21
1 file changed
+2
-2
+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. */
|
/* Structured output promises the same opt-in evidence as TOON. */
|
||||||
char *ev_json = cbm_mcp_server_handle(
|
char *ev_json = cbm_mcp_server_handle(
|
||||||
srv, "{\"jsonrpc\":\"2.0\",\"id\":93,\"method\":\"tools/call\","
|
srv, "{\"jsonrpc\":\"2.0\",\"id\":93,\"method\":\"tools/call\","
|
||||||
"\"params\":{\"name\":\"trace_path\",\"arguments\":{\"function_name\":\"caller\","
|
"\"params\":{\"name\":\"trace_path\",\"arguments\":{\"function_name\":\"caller\","
|
||||||
"\"project\":\"ev-proj\",\"direction\":\"outbound\",\"include_evidence\":true,"
|
"\"project\":\"ev-proj\",\"direction\":\"outbound\",\"include_evidence\":true,"
|
||||||
"\"format\":\"json\"}}}");
|
"\"format\":\"json\"}}}");
|
||||||
ASSERT_NOT_NULL(ev_json);
|
ASSERT_NOT_NULL(ev_json);
|
||||||
|
|||||||
Reference in new issue
Block a user