mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
test: fix comptime var
This commit is contained in:
@@ -449,7 +449,7 @@ pub fn testExecFn(
|
|||||||
try checkCases(js_env, &adoptNode);
|
try checkCases(js_env, &adoptNode);
|
||||||
|
|
||||||
const tags = comptime parser.Tag.all();
|
const tags = comptime parser.Tag.all();
|
||||||
comptime var createElements: [(tags.len) * 2]Case = undefined;
|
var createElements: [(tags.len) * 2]Case = undefined;
|
||||||
inline for (tags, 0..) |tag, i| {
|
inline for (tags, 0..) |tag, i| {
|
||||||
const tag_name = @tagName(tag);
|
const tag_name = @tagName(tag);
|
||||||
createElements[i * 2] = Case{
|
createElements[i * 2] = Case{
|
||||||
|
|||||||
Reference in New Issue
Block a user