MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_patch_missing_params

Function test_patch_missing_params

core/src/tools/builtin/patch.rs:366–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364
365 #[tokio::test]
366 async fn test_patch_missing_params() {
367 let tool = PatchTool;
368 let ctx = ToolContext::new(std::path::PathBuf::from("/tmp"));
369
370 let result = tool.execute(&serde_json::json!({}), &ctx).await.unwrap();
371 assert!(!result.success);
372 }
373
374 #[test]
375 fn test_patch_schema_is_canonical() {

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected