From 8ff2b3ff8313b260b07115b8a773e40b5c0194c6 Mon Sep 17 00:00:00 2001 From: Jimmi HC Date: Fri, 1 Jun 2018 08:37:50 +0200 Subject: Id is now gotten through param of arg --- tests/core.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/core.zig') diff --git a/tests/core.zig b/tests/core.zig index a6a705e..d4304a1 100644 --- a/tests/core.zig +++ b/tests/core.zig @@ -18,7 +18,7 @@ fn testNoErr(params: []const Param(u8), args: []const []const u8, ids: []const u var i: usize = 0; while (iter.next() catch unreachable) |arg| : (i += 1) { - debug.assert(ids[i] == arg.id); + debug.assert(ids[i] == arg.param.id); const expected_value = values[i] ?? { debug.assert(arg.value == null); continue; -- cgit v1.2.3