()
| 1047 | |
| 1048 | #[test] |
| 1049 | fn test_ended_recorded_with_files() { |
| 1050 | let ctx = TransitionContext::with_files_changed(); |
| 1051 | let r = transition(Phase::Ended, Event::Recorded, ctx); |
| 1052 | assert_eq!(r.new_phase, Phase::Ended); |
| 1053 | assert_eq!( |
| 1054 | r.actions, |
| 1055 | vec![Action::RecordIfChanged, Action::UpdateInteraction] |
| 1056 | ); |
| 1057 | } |
| 1058 | |
| 1059 | #[test] |
| 1060 | fn test_ended_recorded_without_files() { |
nothing calls this directly
no test coverage detected