From e3ec2b8c2e5458e2dba5353f5eb857d72a399af5 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 4 Aug 2023 16:42:38 -0700 Subject: [PATCH] delete duplicate test --- src/xml_shaper.zig | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/xml_shaper.zig b/src/xml_shaper.zig index 429b228..2878d50 100644 --- a/src/xml_shaper.zig +++ b/src/xml_shaper.zig @@ -431,23 +431,6 @@ test "can parse an integer type" { defer parsed_data.deinit(); try testing.expectEqual(@as(u8, 42), parsed_data.parsed_value.foo_bar); } -test "can parse a boolean type" { - const allocator = std.testing.allocator; - // defer allocator.free(snake_case); - const data = - \\ - \\ - \\ true - \\ - ; - const Example = struct { - foo_bar: bool, - }; - // std.debug.print("{s}", .{data}); - const parsed_data = try parse(Example, data, .{ .allocator = allocator, .match_predicate = fuzzyEqual }); - defer parsed_data.deinit(); - try testing.expectEqual(true, parsed_data.parsed_value.foo_bar); -} test "can parse an optional boolean type" { const allocator = std.testing.allocator; const data =