From fb6e5beefffe3608173bdda62dc0a922f02ba447 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Fri, 5 Jun 2026 17:54:23 +0200 Subject: [PATCH] fixing tests --- test/root.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/root.zig b/test/root.zig index b6abd7e..9c3d671 100644 --- a/test/root.zig +++ b/test/root.zig @@ -49,7 +49,7 @@ pub const case = struct { defer rt.deinit(allocator); for (config.inputs, 0..) |input, n| { - try rt.writeInput(input[0..], module.input_locations[n]); + try rt.writeInput(input[0..], module.input_locations[n][0]); } for (config.descriptor_sets, 0..) |descriptor_set, set_index| { @@ -65,7 +65,7 @@ pub const case = struct { const output = try allocator.alloc(u8, expected.len); defer allocator.free(output); - try rt.readOutput(output[0..], module.output_locations[n]); + try rt.readOutput(output[0..], module.output_locations[n][0]); try std.testing.expectEqualSlices(u8, expected, output); }