MCPcopy Create free account
hub / github.com/c4pt0r/pie / git_unsupported_subcommand_errors

Function git_unsupported_subcommand_errors

crates/coding-agent/tests/git_tool_e2e.rs:112–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111#[tokio::test]
112async fn git_unsupported_subcommand_errors() {
113 let tool = git::GitTool;
114 let err = tool
115 .execute(
116 "call-3",
117 serde_json::json!({ "subcommand": "push" }),
118 CancellationToken::new(),
119 None,
120 )
121 .await
122 .unwrap_err()
123 .to_string();
124 assert!(err.contains("unsupported"), "{err}");
125}

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected