Skip to content

Commit

Permalink
spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bossinc committed Sep 29, 2023
1 parent ce1940c commit 0ce50be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/ast.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ describe('ast', () => {
});
describe('sqlToStatement', () => {
it('settings parse correctly', () => {
const sql = 'SELECT count(*) FROM myTable SETTINGS setting1=stuff setting2=stuff';
const sql = 'SELECT count(*) FROM foo SETTINGS setting1=stuff setting2=stuff';
const stm = sqlToStatement(sql);
// this is formatted like this to match how pgsql generates its sql
expect(toSql.statement(stm)).toEqual('SELECT (count (*) ) FROM myTable');
expect(toSql.statement(stm)).toEqual('SELECT (count (*) ) FROM foo');
});
});
});

0 comments on commit 0ce50be

Please sign in to comment.