diff options
author | 2021-11-16 15:34:09 -0800 | |
---|---|---|
committer | 2021-11-16 15:34:09 -0800 | |
commit | d0c2f5495cea4901b668ff1bdff5737c89eaa605 (patch) | |
tree | 6056eb3d60ba928b0f6c1977fdc60cd13140d9d2 | |
parent | 4a09ad51f04a8f6df59761d1f7b9b5e029ffa1e8 (diff) | |
download | bun-d0c2f5495cea4901b668ff1bdff5737c89eaa605.tar.gz bun-d0c2f5495cea4901b668ff1bdff5737c89eaa605.tar.zst bun-d0c2f5495cea4901b668ff1bdff5737c89eaa605.zip |
[internal] Fix issue with tests
-rw-r--r-- | src/js_lexer_tables.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js_lexer_tables.zig b/src/js_lexer_tables.zig index b1241adb9..78dd2cf15 100644 --- a/src/js_lexer_tables.zig +++ b/src/js_lexer_tables.zig @@ -1,5 +1,5 @@ usingnamespace @import("string_types.zig"); - +const default_allocator = @import("./global.zig").default_allocator; const std = @import("std"); const expectString = std.testing.expectEqualStrings; const expect = std.testing.expect; @@ -565,7 +565,7 @@ pub fn initJSXEntityMap() !void { } has_loaded_jsx_map = true; - jsxEntity = JSXEntityMap.init(alloc.static); + jsxEntity = JSXEntityMap.init(default_allocator); // return jsxEntity; jsxEntity.ensureCapacity(255) catch unreachable; |