We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac6201 commit c974798Copy full SHA for c974798
chain-extensions/src/tests.rs
@@ -995,8 +995,7 @@ fn get_alpha_price_returns_encoded_price() {
995
assert!(env.charged_weight().is_none());
996
997
// Decode the output
998
- let output_price: u64 =
999
- Decode::decode(&mut &env.output()[..]).expect("Failed to decode output price");
+ let output_price: u64 = Decode::decode(&mut &env.output()[..]).unwrap();
1000
1001
assert_eq!(
1002
output_price, expected_price_u64,
0 commit comments