Skip to content

Commit

Permalink
Normalize query workbench constant newlines (#1105)
Browse files Browse the repository at this point in the history
* Normalize string newlines

Signed-off-by: Simeon Widdis <[email protected]>

* Revert "Normalize string newlines"

This reverts commit f25a99f.

Signed-off-by: Simeon Widdis <[email protected]>

* Fix which side is newline-normalized

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 842fe0c)
  • Loading branch information
Swiddis authored and github-actions[bot] committed Feb 17, 2024
1 parent 339ec78 commit cbb8b24
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ describe('Test and verify SQL downloads', () => {
'select * from accounts where balance > 49500 order by account_number',
},
}).then((response) => {
expect(response.body.data.resp).to.have.string(files[file]);
const data = files[file];
for (const line of data.split('\n')) {
expect(response.body.data.resp).to.have.string(line.trim());
}
});
});
});
Expand Down

0 comments on commit cbb8b24

Please sign in to comment.