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 =