Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit b8c8e57

Browse files
committed
add is not null test cases
1 parent 015733f commit b8c8e57

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test/src/Parse.purs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@ testSuite = suite "parsers" do
5151

5252
testSuite1 e. TestSuite (testOutput Console.TESTOUTPUT | e)
5353
testSuite1 = do
54+
parseSucc """
55+
a := 1; SELECT * FROM `/test`
56+
"""
57+
58+
parseSucc """
59+
SELECT * FROM `/test`
60+
"""
61+
62+
parseSucc """
63+
SELECT * FROM `/smallZips.json` WHERE city IS NOT "foo"
64+
"""
65+
66+
parseSucc """
67+
SELECT * FROM `/smallZips.json` WHERE city IS NULL
68+
"""
69+
70+
parseSucc """
71+
SELECT * FROM `/smallZips.json` WHERE city IS NOT NULL
72+
"""
73+
5474
parseSucc """
5575
select a from `/f` where b is not between 1 and (2..3)
5676
"""

0 commit comments

Comments
 (0)