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

Function test_glob_missing_pattern

core/src/tools/builtin/glob_tool.rs:166–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165 #[tokio::test]
166 async fn test_glob_missing_pattern() {
167 let tool = GlobTool;
168 let ctx = ToolContext::new(PathBuf::from("/tmp"));
169
170 let result = tool.execute(&serde_json::json!({}), &ctx).await.unwrap();
171 assert!(!result.success);
172 }
173
174 #[test]
175 fn test_glob_schema_is_canonical() {

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected