diff --git a/src/datomish/db_factory.cljc b/src/datomish/db_factory.cljc index 8e875cd5..1850b8d5 100644 --- a/src/datomish/db_factory.cljc +++ b/src/datomish/db_factory.cljc @@ -97,7 +97,6 @@ new))] (let [exec (partial s/execute! (:sqlite-connection db)) part->vector (fn [[part {:keys [start idx]}]] - (println "part->vector" part start idx) [(sqlite-schema/->SQLite part) start idx])] ;; TODO: allow inserting new parts. ;; TODO: think more carefully about allocating new parts and bitmasking part ranges. diff --git a/test/datomish/db_test.cljc b/test/datomish/db_test.cljc index 962d17a2..1f53d8e5 100644 --- a/test/datomish/db_test.cljc +++ b/test/datomish/db_test.cljc @@ -19,12 +19,12 @@ #?@(:clj [[datomish.jdbc-sqlite] [datomish.pair-chan :refer [go-pair !]]]) #?@(:cljs [[datomish.promise-sqlite] [datomish.pair-chan] - [datomish.test-macros :refer-macros [deftest-async]] + [datomish.test-macros :refer-macros [deftest-async deftest-db]] [datomish.node-tempfile :refer [tempfile]] [cljs.test :as t :refer-macros [is are deftest testing async]] [cljs.core.async :as a :refer [!]]])) @@ -81,541 +81,445 @@ :db.install/_attribute :db.part/db} ]) -(deftest-async test-add-one - (with-tempfile [t (tempfile)] - (let [conn (