Skip to content

Commit

Permalink
Set element order changed in Clojure 1.6 (hashing logic?) so our test…
Browse files Browse the repository at this point in the history
…s needed to be updated.
  • Loading branch information
seancorfield committed Feb 26, 2014
1 parent d45fd01 commit 9614636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/somnium/test/congomongo.clj
Expand Up @@ -166,8 +166,8 @@
(with-test-mongo
(insert! :test_col {:num-set #{1 2 3}
:kw-set #{:key1 :key2}})
(is (= [1 2 3] (:num-set (fetch-one :test_col))))
(is (= ["key1" "key2"] (:kw-set (fetch-one :test_col))))))
(is (= #{1 2 3} (set (:num-set (fetch-one :test_col)))))
(is (= #{"key1" "key2"} (set (:kw-set (fetch-one :test_col)))))))

(deftest collection-existence
(with-test-mongo
Expand Down Expand Up @@ -751,4 +751,4 @@ function ()
(with-test-mongo
(create-collection! :with-write-concern )
(set-collection-write-concern! :with-write-concern :unacknowledged )
(is (= WriteConcern/UNACKNOWLEDGED (get-collection-write-concern :with-write-concern )))))
(is (= WriteConcern/UNACKNOWLEDGED (get-collection-write-concern :with-write-concern )))))

0 comments on commit 9614636

Please sign in to comment.