From 50907db2d3d006c673b622dd1542b1162c11fff3 Mon Sep 17 00:00:00 2001 From: Robin Freyler Date: Fri, 24 Nov 2023 19:11:50 +0100 Subject: [PATCH] apply clippy suggestions --- crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs b/crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs index b63afe8246..6a628bc9c7 100644 --- a/crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs +++ b/crates/wasmi/src/engine/regmach/tests/op/cmp_br.rs @@ -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) @@ -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)), @@ -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) @@ -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)),