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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected