Skip to content

Commit

Permalink
recustion if test
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Jan 12, 2025
1 parent 636f196 commit 5d74cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/counter/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ mod test_mod_echo {
// get the target/wasm32-wasi/debug/CARGO_PKG_NAME.wasm file
let pkg_name = std::env::var("CARGO_PKG_NAME")?.replace('-', "_");
let workspace = workspace_dir();
let wasm_path = format!("target/wasm32-unknown-unknown/debug/{}.wasm", pkg_name);
let wasm_path = format!("target/wasm32-unknown-unknown/release/{}.wasm", pkg_name);
let wasm_path = workspace.join(wasm_path);

let mut config = Config::new();
Expand Down Expand Up @@ -154,7 +154,7 @@ mod test_mod_echo {
assert_eq!(c_2, 2);

// should be able to get_func "increment" behind the exported interface provider and call it.
let name = "increment";
let name = "increment-count";

let instance = linker
.instantiate(store.as_context_mut(), &component)
Expand Down

0 comments on commit 5d74cf8

Please sign in to comment.