(in-package #:clsql-tests)
-#.(clsql:locally-enable-sql-reader-syntax)
+(clsql-sys:file-enable-sql-reader-syntax)
(setq *rt-syntax*
(clsql:sql [not [null]])
"(NOT (NULL))")
+(deftest :syntax/null/5
+ (clsql:sql [is [foo.bar] [null]])
+ "(FOO.BAR IS NULL)")
+
+(deftest :syntax/null/6
+ (clsql:sql [is [foo.bar] [not-null]])
+ "(FOO.BAR IS NOT NULL)")
+
+(deftest :syntax/null/7
+ (clsql:sql [not-null [foo.bar]])
+ "(FOO.BAR IS NOT NULL)")
+
(deftest :syntax/relational/1
(test test-out expected-result)
"Test:~s didnt match ~S"
test-out expected-result))))
-
-#.(clsql:restore-sql-reader-syntax-state)