mirror of
https://github.com/kristoferssolo/captra.git
synced 2026-02-25 04:58:15 +00:00
refactor(tests): fix clippy warnings
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user