Skip to content

Commit

Permalink
apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Nov 24, 2023
1 parent a9381a8 commit 50907db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ fn if_i32_eqz_fuse() {
#[test]
#[cfg_attr(miri, ignore)]
fn block_i64_eqz_fuse() {
let wasm = wat2wasm(&format!(
let wasm = wat2wasm(
r"
(module
(func (param i64)
Expand All @@ -536,7 +536,7 @@ fn block_i64_eqz_fuse() {
)
)
)",
));
);
TranslationTest::new(wasm)
.expect_func_instrs([
Instruction::branch_i64_eqz(Register::from_i16(0), BranchOffset::from(1)),
Expand All @@ -548,7 +548,7 @@ fn block_i64_eqz_fuse() {
#[test]
#[cfg_attr(miri, ignore)]
fn if_i64_eqz_fuse() {
let wasm = wat2wasm(&format!(
let wasm = wat2wasm(
r"
(module
(func (param i64)
Expand All @@ -558,7 +558,7 @@ fn if_i64_eqz_fuse() {
)
)
)",
));
);
TranslationTest::new(wasm)
.expect_func_instrs([
Instruction::branch_i64_nez(Register::from_i16(0), BranchOffset::from(1)),
Expand Down

0 comments on commit 50907db

Please sign in to comment.