MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_repo_root_hints_empty_array

Function test_repo_root_hints_empty_array

atomic-agent/src/hooks/agy.rs:1492–1497  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1490
1491 #[test]
1492 fn test_repo_root_hints_empty_array() {
1493 let hook = make_hook();
1494 let input = br#"{"conversationId": "s1", "workspacePaths": []}"#;
1495 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
1496 assert!(hook.repo_root_hints(&event).is_none());
1497 }
1498
1499 // Detection tests
1500

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected