summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/extended.zig4
1 files changed, 2 insertions, 2 deletions
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 {
45 Fail: error, 45 Fail: error,
46 }; 46 };
47 47
48 pub fn success(args: []const []const u8, expected: &const Expect) Self { 48 pub fn success(args: []const []const u8, expected: *const Expect) Self {
49 return Self{ 49 return Self{
50 .args = args, 50 .args = args,
51 .kind = Kind{ 51 .kind = Kind{
@@ -63,7 +63,7 @@ pub fn Test(comptime Expect: type) type {
63 }; 63 };
64 } 64 }
65 65
66 pub fn run(t: &const Self, comptime parser: var) void { 66 pub fn run(t: *const Self, comptime parser: var) void {
67 var iter = ArgSliceIterator.init(t.args); 67 var iter = ArgSliceIterator.init(t.args);
68 const actual = parser.parse(ArgSliceIterator.Error, &iter.iter); 68 const actual = parser.parse(ArgSliceIterator.Error, &iter.iter);
69 69