mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(primitives): use reth::Bytes and implements arbitrary (#776)
* clippy * add arbitrary to reth Bytes * clean * add missing dependency
This commit is contained in:
@ -194,15 +194,13 @@ mod tests {
|
||||
let actual_inbound = bandwidth_meter.total_inbound();
|
||||
assert_eq!(
|
||||
actual_inbound, expected_inbound,
|
||||
"Expected {} inbound bytes, but got {}",
|
||||
expected_inbound, actual_inbound,
|
||||
"Expected {expected_inbound} inbound bytes, but got {actual_inbound}",
|
||||
);
|
||||
|
||||
let actual_outbound = bandwidth_meter.total_outbound();
|
||||
assert_eq!(
|
||||
actual_outbound, expected_outbound,
|
||||
"Expected {} inbound bytes, but got {}",
|
||||
expected_outbound, actual_outbound,
|
||||
"Expected {expected_outbound} inbound bytes, but got {actual_outbound}",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user