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:632–637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630
631 #[test]
632 fn test_repo_root_hints_empty_array() {
633 let hook = make_hook();
634 let input = br#"{"conversationId": "s1", "workspacePaths": []}"#;
635 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
636 assert!(hook.repo_root_hints(&event).is_none());
637 }
638
639 // Detection tests
640

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected