()
| 1779 | |
| 1780 | #[test] |
| 1781 | fn test_session_state_clear_ended_at() { |
| 1782 | let mut s = make_session(); |
| 1783 | s.set_phase(Phase::Ended); |
| 1784 | assert!(s.ended_at.is_some()); |
| 1785 | |
| 1786 | s.clear_ended_at(); |
| 1787 | assert!(s.ended_at.is_none()); |
| 1788 | } |
| 1789 | |
| 1790 | // Serde roundtrip |
| 1791 |
nothing calls this directly
no test coverage detected