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

Function test_hooks_struct_fields

atomic-cli/src/commands/agent/hooks.rs:860–869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

858
859 #[test]
860 fn test_hooks_struct_fields() {
861 let hooks = Hooks {
862 agent_name: "claude-code".to_string(),
863 verb: "stop".to_string(),
864 foreground: false,
865 json: false,
866 };
867 assert_eq!(hooks.agent_name, "claude-code");
868 assert_eq!(hooks.verb, "stop");
869 }
870
871 #[test]
872 fn test_hook_type_from_verb_all_claude_verbs() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected