Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 23, 2024
1 parent 596a127 commit b74d43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ test("functions not exported directly", async () => {
const { ast: astParsedBySynchronizedPrettier } =
synchronizedPrettier.__debug.parse(code, parseOptions);

assert.equal(ast.type, "Program");
assert.equal(astParsedBySynchronizedPrettier.type, "Program");

const { ast: astParsedByPrettier } = await prettier.__debug.parse(
code,
parseOptions,
);
assert.deepEqual(ast, astParsedByPrettier);
assert.deepEqual(astParsedBySynchronizedPrettier, astParsedByPrettier);
});

{
Expand Down

0 comments on commit b74d43e

Please sign in to comment.