Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
- arr.insert
  • Loading branch information
salano-ym committed May 9, 2024
1 parent 4a18c33 commit 86fe815
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2931,7 +2931,8 @@ describe('primitive props', () => {
res.push(arr1.insert(-1, 40)) // [30, 0, 1, 20, 2, 40, 10]
res.push(arr1.insert(-4, 50)) // [30, 0, 1, 50, 20, 2, 40, 10]
res.push(arr1.insert(100, 60)) // [30, 0, 1, 50, 20, 2, 40, 10, 60]
<: [null,null,null,null,null,null,arr1]
res.push(arr1)
<: res
`);
eq(res, ARR([
NULL, NULL, NULL, NULL, NULL, NULL,
Expand Down

0 comments on commit 86fe815

Please sign in to comment.