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

Source from the content-addressed store, hash-verified

929
930 #[test]
931 fn test_turn_event_display_with_tool() {
932 let event = TurnEvent::new("sess-abc", HookType::PreToolUse).with_tool_name("Task");
933 let display = event.to_string();
934 assert!(display.contains("tool=Task"));
935 }
936
937 #[test]
938 fn test_turn_event_serde_roundtrip() {

Callers

nothing calls this directly

Calls 1

with_tool_nameMethod · 0.45

Tested by

no test coverage detected