Skip to content

Commit

Permalink
Updated Zuko dependency for bugfix and updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Paula Gearon committed Jul 30, 2020
1 parent 0b7160b commit 850df1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject org.clojars.quoll/asami "1.0.1"
(defproject org.clojars.quoll/asami "1.0.2"
:description "An in memory graph store for Clojure and ClojureScript"
:url "http://github.com/threatgrid/asami"
:license {:name "Eclipse Public License"
Expand All @@ -7,7 +7,7 @@
[org.clojure/clojurescript "1.10.773"]
[prismatic/schema "1.1.12"]
[org.clojure/core.cache "0.8.2"]
[org.clojars.quoll/zuko "0.1.2"]]
[org.clojars.quoll/zuko "0.1.4"]]
:plugins [[lein-cljsbuild "1.1.7"]
[cider/cider-nrepl "0.24.0"]]
:cljsbuild {
Expand Down
8 changes: 4 additions & 4 deletions test/asami/test_api.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@
{:keys [tempids tx-data] :as r} @(transact c [maksim anna])
one (tempids "maksim")
two (tempids "anna")]
(is (= 17 (count tx-data)))
(is (= 19 (count tx-data)))
(is (= #{[one :db/ident "maksim"]
[one :tg/entity true]
[one :name "Maksim"]
[one :age 45]
[one :wife two]}
Expand All @@ -113,6 +114,7 @@
(map (partial take 3))
set)))
(is (= #{[two :db/ident "anna"]
[two :tg/entity true]
[two :name "Anna"]
[two :age 31]
[two :husband one]}
Expand Down Expand Up @@ -149,9 +151,7 @@
(entity d :maksim)))
(is (= {:name "Anna"
:age 31
:husband {:name "Maksim"
:age 45
:aka ["Maks Otto von Stirlitz", "Jack Ryan"]}
:husband {:db/ident :maksim}
:aka ["Anitzka"]}
(entity d :anna)))))

Expand Down

0 comments on commit 850df1d

Please sign in to comment.