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

Function test_turn_event_display

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

Source from the content-addressed store, hash-verified

919
920 #[test]
921 fn test_turn_event_display() {
922 let event =
923 TurnEvent::new("sess-abc", HookType::TurnStart).with_prompt("Fix authentication bug");
924 let display = event.to_string();
925 assert!(display.contains("turn_start"));
926 assert!(display.contains("sess-abc"));
927 assert!(display.contains("Fix authentication bug"));
928 }
929
930 #[test]
931 fn test_turn_event_display_with_tool() {

Callers

nothing calls this directly

Calls 1

with_promptMethod · 0.80

Tested by

no test coverage detected