Skip to content

Commit 0a922b3

Browse files
committed
refactor: add more test cases
1 parent 0722b3b commit 0a922b3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/util.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ describe('util function test', () => {
4646
it('should support columnIdentifierToSql without ident', () => {
4747
expect(columnIdentifierToSql()).to.be.undefined
4848
})
49+
50+
it('should sqlify backticks_quote_string', () => {
51+
expect(literalToSQL({ type: 'backticks_quote_string', parentheses: true , value: "abc" })).to.equal('(`abc`)')
52+
})
4953
})
5054

5155
describe('over to sql', () => {

0 commit comments

Comments
 (0)