Skip to content

Commit f8718a6

Browse files
authored
Move integration test to integration tests folder & clean up (#1579)
* move integration test to integration tests folder * inline tests module
1 parent 3a0b46c commit f8718a6

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mod host_calls;
1+
//! APIs to test and introspect Wasmi engine internals.
22
33
use super::{
44
code_map::{CompiledFuncRef, EngineFunc},

crates/wasmi/src/engine/tests/host_calls.rs renamed to crates/wasmi/tests/integration/call_host_via_engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This submodule tests the unusual use case of calling host functions through the engine from the host side.
22
3-
use crate::{Caller, Config, Engine, Error, Func, Linker, Module, Store};
3+
use wasmi::{Caller, Config, Engine, Error, Func, Linker, Module, Store};
44

55
/// Setup a new `Store` for testing with initial value of 5.
66
fn setup_store() -> Store<i32> {

crates/wasmi/tests/integration/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
mod call_hook;
2+
mod call_host_via_engine;
23
mod fuel_consumption;
34
mod fuel_metering;
45
mod func;

0 commit comments

Comments
 (0)