refactor(tests): fix clippy warnings

This commit is contained in:
2025-09-28 20:27:43 +03:00
parent ad70a53c75
commit 5abcd400d4
8 changed files with 106 additions and 74 deletions

View File

@@ -1,11 +1,10 @@
mod common;
use crate::common::{host::make_host_with_seed, wasm::wasm_store_with_hosts};
use captra::HostStatus;
use claims::{assert_ok, assert_some};
use wasmtime::Module;
use crate::common::{make_host_with_seed, wasm_store_with_hosts};
#[test]
fn wasm_integration_allowed() {
let host = make_host_with_seed(12345);
@@ -28,7 +27,7 @@ fn wasm_integration_allowed() {
)
)
"#,
len = path.as_bytes().len()
len = path.len()
);
let module = assert_ok!(Module::new(&engine, &wat));