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

Function test_turn_event_display_with_tool

atomic-agent/src/event.rs:923–927  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

921
922 #[test]
923 fn test_turn_event_display_with_tool() {
924 let event = TurnEvent::new("sess-abc", HookType::PreToolUse).with_tool_name("Task");
925 let display = event.to_string();
926 assert!(display.contains("tool=Task"));
927 }
928
929 #[test]
930 fn test_turn_event_serde_roundtrip() {

Callers

nothing calls this directly

Calls 1

with_tool_nameMethod · 0.45

Tested by

no test coverage detected