Skip to content

Commit

Permalink
test(minifier): add test for global ident check
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored and Boshen committed Jan 11, 2025
1 parent ba5c68e commit 9dfa406
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,7 @@ mod test {
test("new BigInt64Array(0)", "new BigInt64Array()");
test("new BigUint64Array(0)", "new BigUint64Array()");

test_same("var Int8Array; new Int8Array(0)");
test_same("new Int8Array(1)");
test_same("new Int8Array(a)");
test_same("new Int8Array(0, a)");
Expand Down

0 comments on commit 9dfa406

Please sign in to comment.