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 ba20bd7 commit 746d7ff
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 myTable 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 myTable');
});
});
});

0 comments on commit 746d7ff

Please sign in to comment.