Skip to content

Commit 272274f

Browse files
committed
add missing tests for 'IS NOT' clauses
1 parent 2db3e3c commit 272274f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

test-3.9/expected/multicorn_regression_test.out

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,20 @@ NOTICE: ['test1', 'test2', 'test3']
519519
-------+-------+-------
520520
(0 rows)
521521

522+
select * from testmulticorn where test1 IS NOT TRUE;
523+
NOTICE: [test1 IS NOT t]
524+
NOTICE: ['test1', 'test2', 'test3']
525+
test1 | test2 | test3
526+
-------+-------+-------
527+
(0 rows)
528+
529+
select * from testmulticorn where test1 IS NOT FALSE;
530+
NOTICE: [test1 IS NOT f]
531+
NOTICE: ['test1', 'test2', 'test3']
532+
test1 | test2 | test3
533+
-------+-------+-------
534+
(0 rows)
535+
522536
select * from testmulticorn where test1 IS UNKNOWN;
523537
NOTICE: [test1 IS None]
524538
NOTICE: ['test1', 'test2', 'test3']

test-3.9/sql/multicorn_regression_test.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ select * from testmulticorn where test1 = TRUE;
115115
select * from testmulticorn where test1 = FALSE;
116116
select * from testmulticorn where test1 IS TRUE;
117117
select * from testmulticorn where test1 IS FALSE;
118+
select * from testmulticorn where test1 IS NOT TRUE;
119+
select * from testmulticorn where test1 IS NOT FALSE;
118120
select * from testmulticorn where test1 IS UNKNOWN;
119121
select * from testmulticorn where test1 IS NOT UNKNOWN;
120122

0 commit comments

Comments
 (0)