From 40bc1861a79dd1cdc2655c4344352c7605f03f9b Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Thu, 29 May 2014 01:27:58 +0400 Subject: [PATCH] Cosmetics --- test/monger/test/indexing_test.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/monger/test/indexing_test.clj b/test/monger/test/indexing_test.clj index a6f6c57..3d35f07 100644 --- a/test/monger/test/indexing_test.clj +++ b/test/monger/test/indexing_test.clj @@ -12,7 +12,7 @@ (deftest ^{:indexing true} test-creating-and-dropping-indexes (let [collection "libraries"] (mc/drop-indexes db collection) - (mc/create-index db collection { "language" 1 }) + (mc/create-index db collection {"language" 1}) (is (= "language_1" (:name (second (mc/indexes-on db collection))))) (mc/drop-index db collection "language_1") @@ -23,7 +23,7 @@ (is (= "language_1" (:name (second (mc/indexes-on db collection))))) (mc/ensure-index db collection (array-map "language" 1)) - (mc/ensure-index db collection (array-map "language" 1) { :unique true }) + (mc/ensure-index db collection (array-map "language" 1) {:unique true}) (mc/drop-indexes db collection))) (deftest ^{:indexing true :time-consuming true} test-ttl-collections