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

Function test_grep_missing_pattern

core/src/tools/builtin/grep.rs:212–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211 #[tokio::test]
212 async fn test_grep_missing_pattern() {
213 let tool = GrepTool;
214 let ctx = ToolContext::new(PathBuf::from("/tmp"));
215
216 let result = tool.execute(&serde_json::json!({}), &ctx).await.unwrap();
217 assert!(!result.success);
218 }
219
220 #[test]
221 fn test_grep_schema_is_canonical() {

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected