MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / test_out_of_sequence_parse

Function test_out_of_sequence_parse

fendermint/eth/api/src/error.rs:166–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected