Skip to content

Commit df9de15

Browse files
committed
fix test
1 parent af2d710 commit df9de15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/args.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ test "parseIntoField: struct with init func" {
781781

782782
pub fn init(self: *Self, _alloc: Allocator) !void {
783783
_ = _alloc;
784-
self.v = "HELLO!";
784+
self.* = .{ .v = "HELLO!" };
785785
}
786786
},
787787
} = undefined;

0 commit comments

Comments
 (0)