()
| 848 | |
| 849 | #[test] |
| 850 | fn test_turn_event_has_prompt() { |
| 851 | let no_prompt = TurnEvent::new("s", HookType::TurnStart); |
| 852 | assert!(!no_prompt.has_prompt()); |
| 853 | |
| 854 | let empty_prompt = TurnEvent::new("s", HookType::TurnStart).with_prompt(""); |
| 855 | assert!(!empty_prompt.has_prompt()); |
| 856 | |
| 857 | let with_prompt = TurnEvent::new("s", HookType::TurnStart).with_prompt("hello"); |
| 858 | assert!(with_prompt.has_prompt()); |
| 859 | } |
| 860 | |
| 861 | #[test] |
| 862 | fn test_turn_event_prompt_summary_short() { |
nothing calls this directly
no test coverage detected