MCPcopy Create free account
hub / github.com/base/base / test_protocol_error_display

Function test_protocol_error_display

crates/execution/flashblocks/src/error.rs:193–195  ·  view source on GitHub ↗
(#[case] error: ProtocolError, #[case] expected: &str)

Source from the content-addressed store, hash-verified

191 "empty flashblocks: cannot build state from zero flashblocks"
192 )]
193 fn test_protocol_error_display(#[case] error: ProtocolError, #[case] expected: &str) {
194 assert_eq!(error.to_string(), expected);
195 }
196
197 #[rstest]
198 #[case::missing_canonical_header(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected