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

Function test_config_builder

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

Source from the content-addressed store, hash-verified

220
221#[test]
222fn test_config_builder() {
223 let config = CodeConfig::new()
224 .add_skill_dir("/tmp/skills")
225 .add_agent_dir("/tmp/agents");
226
227 assert_eq!(config.skill_dirs.len(), 1);
228 assert_eq!(config.agent_dirs.len(), 1);
229}
230
231#[test]
232fn test_find_provider() {

Callers

nothing calls this directly

Calls 2

add_agent_dirMethod · 0.80
add_skill_dirMethod · 0.80

Tested by

no test coverage detected