Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Sep 13, 2023
1 parent 18be17f commit ec142bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export fn hello_world(plugin_ptr: ?*sdk.c.ExtismCurrentPlugin, inputs: [*c]const
output_slice[0] = input_slice[0];
}

const wasmfile_manifest = manifest.WasmFile{ .path = "../wasm/code-functions.wasm" };
const wasmfile_manifest = manifest.WasmFile{ .path = "wasm/code-functions.wasm" };
const man = .{ .wasm = &[_]manifest.Wasm{.{ .wasm_file = wasmfile_manifest }} };

test "Single threaded tests" {
Expand Down Expand Up @@ -111,7 +111,7 @@ test "Multi threaded tests" {
}

test "Plugin Cancellation" {
const loop_manifest = manifest.WasmFile{ .path = "../wasm/loop.wasm" };
const loop_manifest = manifest.WasmFile{ .path = "wasm/loop.wasm" };
const loop_man = .{ .wasm = &[_]manifest.Wasm{.{ .wasm_file = loop_manifest }} };
_ = sdk.setLogFile("test.log", .Debug);
var f = Function.init(
Expand Down
Binary file added wasm/loop.wasm
Binary file not shown.

0 comments on commit ec142bd

Please sign in to comment.