From 6fae46190798f5a49bdabcb039a5d262ab4e9b9e Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 30 Mar 2024 08:59:14 -0700 Subject: [PATCH] fix tests broken in 0a5a08a --- src/smithy.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/smithy.zig b/src/smithy.zig index 593f3f0..b6e519b 100644 --- a/src/smithy.zig +++ b/src/smithy.zig @@ -102,8 +102,6 @@ pub const TraitType = enum { aws_auth_sigv4, aws_protocol, ec2_query_name, - json_name, - xml_name, http, http_header, http_label, @@ -893,7 +891,7 @@ fn read_file_to_string(allocator: std.mem.Allocator, file_name: []const u8, max_ return file.readToEndAlloc(allocator, max_bytes); } const test_data: []const u8 = @embedFile("test.json"); -const intrinsic_type_count: usize = 5; // 5 intrinsic types are added to every model +const intrinsic_type_count: usize = 15; // 15 intrinsic types are added to every model (see shapes() function) test "parse string" { const test_string =