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

Function test_turn_event_prompt_summary_short

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

Source from the content-addressed store, hash-verified

852
853 #[test]
854 fn test_turn_event_prompt_summary_short() {
855 let event = TurnEvent::new("s", HookType::TurnStart).with_prompt("Fix the bug");
856 assert_eq!(event.prompt_summary(100), Some("Fix the bug".to_string()));
857 }
858
859 #[test]
860 fn test_turn_event_prompt_summary_truncated() {

Callers

nothing calls this directly

Calls 1

with_promptMethod · 0.80

Tested by

no test coverage detected