From b74d43ecabbea11d828d933cc1def1f0b0a335f2 Mon Sep 17 00:00:00 2001 From: fisker Date: Tue, 23 Jan 2024 15:20:18 +0800 Subject: [PATCH] Typo --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index 00c2f22..f2e6d2e 100644 --- a/test.js +++ b/test.js @@ -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); }); {