projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8929: fix for openmcl command-output
[clsql.git]
/
tests
/
test-fddl.lisp
diff --git
a/tests/test-fddl.lisp
b/tests/test-fddl.lisp
index 0d8b3cf1e18596d35f9a878147bf9b617bb02ead..918c56f878ca0b964f701527437c82512274df6c 100644
(file)
--- a/
tests/test-fddl.lisp
+++ b/
tests/test-fddl.lisp
@@
-18,13
+18,16
@@
#.(clsql:locally-enable-sql-reader-syntax)
#.(clsql:locally-enable-sql-reader-syntax)
+(setq *rt-fddl*
+ '(
+
;; list current tables
(deftest :fddl/table/1
(apply #'values
(sort (mapcar #'string-downcase
(clsql:list-tables :owner *test-database-user*))
#'string>))
;; list current tables
(deftest :fddl/table/1
(apply #'values
(sort (mapcar #'string-downcase
(clsql:list-tables :owner *test-database-user*))
#'string>))
- "
clsql_object_v" "employee" "company
")
+ "
employee" "company" "clsql_object_v
")
;; create a table, test for its existence, drop it and test again
(deftest :fddl/table/2
;; create a table, test for its existence, drop it and test again
(deftest :fddl/table/2
@@
-208,4
+211,6
@@
(clsql:drop-sequence [foo] :if-does-not-exist :ignore)))
6)
(clsql:drop-sequence [foo] :if-does-not-exist :ignore)))
6)
+))
+
#.(clsql:restore-sql-reader-syntax-state)
#.(clsql:restore-sql-reader-syntax-state)