Skip to content

Commit

Permalink
add make-cols-unique test case: empty cols
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Corfield <sean@corfield.org>
  • Loading branch information
juergenhoetzel authored and seancorfield committed Jun 10, 2012
1 parent bcd95d7 commit f868562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/clojure/clojure/java/test_utilities.clj
Expand Up @@ -90,6 +90,7 @@

(deftest test-make-cols-unique
(let [make-cols-unique @#'sql/make-cols-unique]
(is (= '() (make-cols-unique '())))
(is (= '("a") (make-cols-unique '("a"))))
(is (= '("a" "a_2") (make-cols-unique '("a" "a"))))
(is (= '("a" "b" "a_2" "a_3") (make-cols-unique '("a" "b" "a" "a"))))
Expand Down

0 comments on commit f868562

Please sign in to comment.