()
| 960 | |
| 961 | #[test] |
| 962 | fn test_session_state_clear_ended_at() { |
| 963 | let mut s = make_session(); |
| 964 | s.set_phase(Phase::Ended); |
| 965 | assert!(s.ended_at.is_some()); |
| 966 | |
| 967 | s.clear_ended_at(); |
| 968 | assert!(s.ended_at.is_none()); |
| 969 | } |
| 970 | |
| 971 | // Serde roundtrip |
| 972 |
nothing calls this directly
no test coverage detected