aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/expect/util.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/expect/util.clj')
-rw-r--r--src/clojure/contrib/expect/util.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/expect/util.clj b/src/clojure/contrib/expect/util.clj
index 14bd6d16..6b834570 100644
--- a/src/clojure/contrib/expect/util.clj
+++ b/src/clojure/contrib/expect/util.clj
@@ -12,4 +12,4 @@
(defn index-of
"Returns the first index of value v in the collection or nil."
[coll v]
- (first (positions v coll)))
+ (first (positions #{v} coll)))