Skip to content

Commit

Permalink
Update test/wasmex_test.exs
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Tessenow <[email protected]>
  • Loading branch information
ionull and tessi authored Aug 31, 2024
1 parent 686e68d commit dcdbb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wasmex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ defmodule WasmexTest do

imports = %{
env: %{add_import: {:fn, [:i32, :i32], [:i32], fn %{instance: instance, caller: caller}, a, b ->
Wasmex.Instance.call_exported_function(caller, instance, "call_add", [a,b], :from)
Wasmex.Instance.call_exported_function(caller, instance, "call_add", [a, b], :from)
receive do {
:returned_function_call, {:ok, [result]}, :from} -> :ok
result
Expand Down

0 comments on commit dcdbb26

Please sign in to comment.