From 765c82671a733991c46f3d3e14297bc94d6b56c3 Mon Sep 17 00:00:00 2001 From: Jimmi HC Date: Fri, 8 Jun 2018 10:41:37 +0200 Subject: Updated to newest pointer syntax --- tests/extended.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/extended.zig b/tests/extended.zig index 140c822..00cc84b 100644 --- a/tests/extended.zig +++ b/tests/extended.zig @@ -45,7 +45,7 @@ pub fn Test(comptime Expect: type) type { Fail: error, }; - pub fn success(args: []const []const u8, expected: &const Expect) Self { + pub fn success(args: []const []const u8, expected: *const Expect) Self { return Self{ .args = args, .kind = Kind{ @@ -63,7 +63,7 @@ pub fn Test(comptime Expect: type) type { }; } - pub fn run(t: &const Self, comptime parser: var) void { + pub fn run(t: *const Self, comptime parser: var) void { var iter = ArgSliceIterator.init(t.args); const actual = parser.parse(ArgSliceIterator.Error, &iter.iter); -- cgit v1.2.3