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

Function test_turn_event_display

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

Source from the content-addressed store, hash-verified

1302
1303 #[test]
1304 fn test_turn_event_display() {
1305 let event =
1306 TurnEvent::new("sess-abc", HookType::TurnStart).with_prompt("Fix authentication bug");
1307 let display = event.to_string();
1308 assert!(display.contains("turn_start"));
1309 assert!(display.contains("sess-abc"));
1310 assert!(display.contains("Fix authentication bug"));
1311 }
1312
1313 #[test]
1314 fn test_turn_event_display_with_tool() {

Callers

nothing calls this directly

Calls 1

with_promptMethod · 0.80

Tested by

no test coverage detected