()
| 931 | |
| 932 | #[test] |
| 933 | fn test_outcome_display_singular() { |
| 934 | let outcome = TurnRecordOutcome { |
| 935 | hash: Hash::of(b"test"), |
| 936 | turn_number: 1, |
| 937 | file_count: 1, |
| 938 | message: "Turn 1: Init".to_string(), |
| 939 | recorded_files: vec!["a.rs".to_string()], |
| 940 | unhashed_data: None, |
| 941 | git_transition: None, |
| 942 | }; |
| 943 | |
| 944 | let display = outcome.to_string(); |
| 945 | assert!(display.contains("1 file)")); |
| 946 | assert!(!display.contains("1 files")); |
| 947 | } |
| 948 | |
| 949 | #[test] |
| 950 | fn test_outcome_recorded_file_list() { |
nothing calls this directly
no outgoing calls
no test coverage detected