Skip to content

Commit 458ace6

Browse files
committed
fix: format nested rest-pattern test added during merge resolution
1 parent 7b366c8 commit 458ace6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/parsers/javascript.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,9 @@ function runDemo(reporter: Reporter, users: string[]): void {
24752475
// identifier.
24762476
const symbols = parseJS(`const [x, ...[a, b]] = computeList();`);
24772477
for (const name of ['x', 'a', 'b']) {
2478-
expect(symbols.definitions).toContainEqual(expect.objectContaining({ name, kind: 'constant' }));
2478+
expect(symbols.definitions).toContainEqual(
2479+
expect.objectContaining({ name, kind: 'constant' }),
2480+
);
24792481
}
24802482
expect(symbols.definitions.every((d) => !d.name.startsWith('['))).toBe(true);
24812483
});

0 commit comments

Comments
 (0)