Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pwbh committed Aug 31, 2024
1 parent 1ebdaf1 commit 4e8dae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ test "should be able to to skip optional fields if non-existent in the parsed fi
name: []const u8,
fourth: f32,
foods: ?[][]const u8,
more_fiids: ?[][]const u8,
more_foods: ?[][]const u8,
};

const yml_file_location = try std.fs.cwd().realpathAlloc(
Expand All @@ -669,5 +669,5 @@ test "should be able to to skip optional fields if non-existent in the parsed fi
try expect(std.mem.eql(u8, foods[2], "Strawberry"));
try expect(std.mem.eql(u8, foods[3], "Mango"));

try expect(result.more_fiids == null);
try expect(result.more_foods == null);
}

0 comments on commit 4e8dae1

Please sign in to comment.