Skip to content

Commit bb11dc2

Browse files
committed
Added more impoper tests
1 parent 39e1443 commit bb11dc2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/index.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,5 @@
55

66
const { highlight } = require('../index')
77

8-
const sqlString = "SELECT COUNT(id), COUNT(id), `id`, `username` FROM `users` WHERE `email` = '[email protected]' AND `something` = 'oke' AND 1=1"
9-
10-
const highlighted = highlight(sqlString, {
11-
// html: true
12-
})
13-
14-
console.log(highlighted)
8+
console.log(highlight("SELECT COUNT(id), COUNT(id), `id`, `username` FROM `users` WHERE `email` = '[email protected]' AND `something` = 'oke' AND 1=1"))
9+
console.log(highlight('SELECT "users".* FROM "users"'))

0 commit comments

Comments
 (0)