mirror of
https://github.com/gchq/CyberChef.git
synced 2026-02-07 07:50:27 -08:00
Fix SQL Beautify test output to align with updated formatter
This commit is contained in:
parent
208b5ad819
commit
e5d732d494
1 changed files with 9 additions and 7 deletions
|
|
@ -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);
|
||||
}),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue