fix tests broken in 0a5a08a

This commit is contained in:
Emil Lerch 2024-03-30 08:59:14 -07:00
parent 176817f95f
commit 0a54b5a3de
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -893,7 +893,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 =