()
| 502 | |
| 503 | #[test] |
| 504 | fn test_message_with_long_prompt() { |
| 505 | let session = make_session(); |
| 506 | let event = make_event(); |
| 507 | let mut options = make_options(&session, &event); |
| 508 | options.prompt = Some("a".repeat(200)); |
| 509 | let status = empty_status(); |
| 510 | |
| 511 | let msg = build_turn_message(&options, &status, &no_untracked()); |
| 512 | // The prompt is meaningful (long, not a slash command) |
| 513 | assert!(msg.len() <= 72); |
| 514 | assert!(msg.ends_with("...")); |
| 515 | } |
| 516 | |
| 517 | // build_file_change_summary tests |
| 518 |
nothing calls this directly
no test coverage detected