mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Fix CI benchmark check (#8380)
This commit is contained in:
@@ -528,7 +528,6 @@ mod tests {
|
||||
use super::*;
|
||||
use crate::{exec::Ext, Limits};
|
||||
use std::fmt;
|
||||
use assert_matches::assert_matches;
|
||||
|
||||
impl fmt::Debug for PrefabWasmModule<crate::tests::Test> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
@@ -572,7 +571,7 @@ mod tests {
|
||||
.. Default::default()
|
||||
};
|
||||
let r = do_preparation::<env::Test, crate::tests::Test>(wasm, &schedule);
|
||||
assert_matches!(r, $($expected)*);
|
||||
assert_matches::assert_matches!(r, $($expected)*);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -983,7 +982,7 @@ mod tests {
|
||||
let mut schedule = Schedule::default();
|
||||
schedule.enable_println = true;
|
||||
let r = do_preparation::<env::Test, crate::tests::Test>(wasm, &schedule);
|
||||
assert_matches!(r, Ok(_));
|
||||
assert_matches::assert_matches!(r, Ok(_));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user