()
| 164 | |
| 165 | #[test] |
| 166 | fn test_out_of_sequence_parse() { |
| 167 | assert_eq!( |
| 168 | OutOfSequence::try_parse( |
| 169 | ExitCode::SYS_SENDER_STATE_INVALID, |
| 170 | "... expected sequence 0, got 4 ..." |
| 171 | ), |
| 172 | Some(OutOfSequence { |
| 173 | expected: 0, |
| 174 | got: 4 |
| 175 | }) |
| 176 | ); |
| 177 | } |
| 178 | |
| 179 | #[test] |
| 180 | fn test_out_of_sequence_admissible() { |
nothing calls this directly
no outgoing calls
no test coverage detected