()
| 716 | |
| 717 | #[test] |
| 718 | fn test_generator_build_prompt() { |
| 719 | let gen = ClaudeCliGenerator::new(); |
| 720 | let prompt = gen.build_prompt("[User] Fix the bug\n[Assistant] Done\n"); |
| 721 | assert!(prompt.contains("<transcript>")); |
| 722 | assert!(prompt.contains("[User] Fix the bug")); |
| 723 | assert!(prompt.contains("</transcript>")); |
| 724 | assert!(prompt.contains("Return a JSON object")); |
| 725 | assert!(prompt.contains("\"function\"")); |
| 726 | assert!(prompt.contains("\"category\"")); |
| 727 | } |
| 728 | |
| 729 | #[test] |
| 730 | fn test_generator_clean_env_strips_git() { |
nothing calls this directly
no test coverage detected