()
| 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() { |