Fix SQL Beautify test output to align with updated formatter
This commit is contained in:
parent
208b5ad819
commit
e5d732d494
@ -867,13 +867,15 @@ pCGTErs=
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
it("SQL Beautify", () => {
|
it("SQL Beautify", () => {
|
||||||
const result = chef.SQLBeautify(`SELECT MONTH, ID, RAIN_I, TEMP_F
|
const result = chef.SQLBeautify(`SELECT MONTH, ID, RAIN_I, TEMP_F FROM STATS;`);
|
||||||
FROM STATS;`);
|
const expected =
|
||||||
const expected = `SELECT MONTH,
|
`SELECT
|
||||||
|
MONTH,
|
||||||
ID,
|
ID,
|
||||||
RAIN_I,
|
RAIN_I,
|
||||||
TEMP_F
|
TEMP_F
|
||||||
FROM STATS;`;
|
FROM
|
||||||
|
STATS;`;
|
||||||
assert.strictEqual(result.toString(), expected);
|
assert.strictEqual(result.toString(), expected);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user