()
| 840 | |
| 841 | #[test] |
| 842 | fn test_turn_event_has_prompt() { |
| 843 | let no_prompt = TurnEvent::new("s", HookType::TurnStart); |
| 844 | assert!(!no_prompt.has_prompt()); |
| 845 | |
| 846 | let empty_prompt = TurnEvent::new("s", HookType::TurnStart).with_prompt(""); |
| 847 | assert!(!empty_prompt.has_prompt()); |
| 848 | |
| 849 | let with_prompt = TurnEvent::new("s", HookType::TurnStart).with_prompt("hello"); |
| 850 | assert!(with_prompt.has_prompt()); |
| 851 | } |
| 852 | |
| 853 | #[test] |
| 854 | fn test_turn_event_prompt_summary_short() { |
nothing calls this directly
no test coverage detected