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

Function test_config_has_directories

core/src/config/tests.rs:450–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448
449#[test]
450fn test_config_has_directories() {
451 let empty = CodeConfig::default();
452 assert!(!empty.has_directories());
453
454 let with_skills = CodeConfig::new().add_skill_dir("/tmp/skills");
455 assert!(with_skills.has_directories());
456
457 let with_agents = CodeConfig::new().add_agent_dir("/tmp/agents");
458 assert!(with_agents.has_directories());
459}
460
461#[test]
462fn test_config_has_providers() {

Callers

nothing calls this directly

Calls 2

add_skill_dirMethod · 0.80
add_agent_dirMethod · 0.80

Tested by

no test coverage detected