X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;fp=tests%2Ftest-fddl.lisp;h=f7fb89bed93d967a22513277926f6f76e5d63b61;hp=83eada9f1074e699b6e584d90360be9e884be957;hb=374df8f34a7214e08fc4cfc5d734d024acdbf9ca;hpb=8997e2789a6677f5d5c78e0b630090824be30307 diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index 83eada9..f7fb89b 100644 --- a/tests/test-fddl.lisp +++ b/tests/test-fddl.lisp @@ -44,9 +44,11 @@ B varchar(32))") ;; list current tables (deftest :fddl/table/1 (with-dataset *ds-fddl* - (sort (mapcar #'string-downcase - (clsql:list-tables )) - #'string<)) + (let ((tables (sort (mapcar #'string-downcase (clsql:list-tables)) + #'string<))) + ;; sqlite has a table for autoincrement sequences that we dont care about if + ;; it exists + (remove "sqlite_sequence" tables :test #'string-equal))) ("alpha" "bravo")) ;; create a table, test for its existence, drop it and test again