fix tests broken in 0a5a08a
This commit is contained in:
parent
176817f95f
commit
6fae461907
|
@ -102,8 +102,6 @@ pub const TraitType = enum {
|
||||||
aws_auth_sigv4,
|
aws_auth_sigv4,
|
||||||
aws_protocol,
|
aws_protocol,
|
||||||
ec2_query_name,
|
ec2_query_name,
|
||||||
json_name,
|
|
||||||
xml_name,
|
|
||||||
http,
|
http,
|
||||||
http_header,
|
http_header,
|
||||||
http_label,
|
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);
|
return file.readToEndAlloc(allocator, max_bytes);
|
||||||
}
|
}
|
||||||
const test_data: []const u8 = @embedFile("test.json");
|
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" {
|
test "parse string" {
|
||||||
const test_string =
|
const test_string =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user