()
| 914 | |
| 915 | #[test] |
| 916 | fn test_outcome_display() { |
| 917 | let outcome = TurnRecordOutcome { |
| 918 | hash: Hash::of(b"test"), |
| 919 | turn_number: 3, |
| 920 | file_count: 2, |
| 921 | message: "Turn 3: Fix the bug".to_string(), |
| 922 | recorded_files: vec!["a.rs".to_string(), "b.rs".to_string()], |
| 923 | unhashed_data: None, |
| 924 | git_transition: None, |
| 925 | }; |
| 926 | |
| 927 | let display = outcome.to_string(); |
| 928 | assert!(display.contains("Turn 3")); |
| 929 | assert!(display.contains("2 files")); |
| 930 | } |
| 931 | |
| 932 | #[test] |
| 933 | fn test_outcome_display_singular() { |
nothing calls this directly
no outgoing calls
no test coverage detected