X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;h=83eada9f1074e699b6e584d90360be9e884be957;hb=0b757e652eda05d8d824438d925665f17e764d93;hp=ed25a04d2b9a65a396d5aa4b8064cd6b2b7086a0;hpb=d2d49ab13c98bc7a1819a0fd3968268a5567bdc3;p=clsql.git diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index ed25a04..83eada9 100644 --- a/tests/test-fddl.lisp +++ b/tests/test-fddl.lisp @@ -16,8 +16,7 @@ (in-package #:clsql-tests) - -#.(clsql:locally-enable-sql-reader-syntax) +(clsql-sys:file-enable-sql-reader-syntax) (def-dataset *ds-fddl* (:setup (lambda () @@ -169,12 +168,14 @@ B varchar(32))") (with-dataset *ds-fddl* (multiple-value-bind (type length scale nullable) (clsql:attribute-type [c] [alpha]) - (values (clsql-sys:in type :varchar :varchar2) length scale nullable))) + (values (clsql-sys:in type :varchar :varchar2 :nvarchar) + length scale nullable))) t 30 nil 1) (deftest :fddl/attributes/5 (with-dataset *ds-fddl* - (and (member (clsql:attribute-type [d] [alpha]) '(:datetime :timestamp :date)) t)) + (and (member (clsql:attribute-type [d] [alpha]) + '(:datetime :timestamp :date :smalldatetime)) t)) t) (deftest :fddl/attributes/6 @@ -449,5 +450,3 @@ B varchar(32))") (nil (t nil) t (t nil))) )) - -#.(clsql:restore-sql-reader-syntax-state)