From 13f33a4915255d18a4588e3c105edddb9174d5c2 Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Wed, 3 Aug 2016 15:41:40 -0700 Subject: [PATCH] Unify test pattern around "(... -after tx0)". --- test/datomish/db_test.cljc | 272 ++++++++++++++++++------------------- 1 file changed, 132 insertions(+), 140 deletions(-) diff --git a/test/datomish/db_test.cljc b/test/datomish/db_test.cljc index 91222a25..7d541a70 100644 --- a/test/datomish/db_test.cljc +++ b/test/datomish/db_test.cljc @@ -40,7 +40,7 @@ (let [entids (zipmap (vals (dm/idents db)) (keys (dm/idents db)))] (go-pair (->> - (s/all-rows (:sqlite-connection db) ["SELECT e, a, v, tx FROM datoms WHERE tx >= ?" tx]) + (s/all-rows (:sqlite-connection db) ["SELECT e, a, v, tx FROM datoms WHERE tx > ?" tx]) (> - (s/all-rows (:sqlite-connection db) ["SELECT e, a, v, tx, added FROM transactions WHERE tx >= ? ORDER BY tx ASC, e, a, v, added" tx]) + (s/all-rows (:sqlite-connection db) ["SELECT e, a, v, tx, added FROM transactions WHERE tx > ? ORDER BY tx ASC, e, a, v, added" tx]) (