From e5d732d49497b9e2691fe23df1e9f47d182012b7 Mon Sep 17 00:00:00 2001 From: aby-jo <173944472+aby-jo@users.noreply.github.com> Date: Tue, 24 Jun 2025 22:48:03 +0530 Subject: [PATCH] Fix SQL Beautify test output to align with updated formatter --- tests/node/tests/operations.mjs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/node/tests/operations.mjs b/tests/node/tests/operations.mjs index 022b0701..41eddd82 100644 --- a/tests/node/tests/operations.mjs +++ b/tests/node/tests/operations.mjs @@ -867,13 +867,15 @@ pCGTErs= }), it("SQL Beautify", () => { - const result = chef.SQLBeautify(`SELECT MONTH, ID, RAIN_I, TEMP_F -FROM STATS;`); - const expected = `SELECT MONTH, - ID, - RAIN_I, - TEMP_F -FROM STATS;`; + const result = chef.SQLBeautify(`SELECT MONTH, ID, RAIN_I, TEMP_F FROM STATS;`); + const expected = +`SELECT + MONTH, + ID, + RAIN_I, + TEMP_F +FROM + STATS;`; assert.strictEqual(result.toString(), expected); }),