Skip to content

Commit

Permalink
don't test encodings that do not exist on all Java installations
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthalloway committed Mar 30, 2012
1 parent ed232f0 commit d82a945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/clojure/test_clojure/java/io.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
(spit f content)
(is (= content (slurp f)))
;; UTF-16 must be last for the following test
(doseq [enc [ "UTF-8" "UTF-16BE" "UTF-16LE" "UTF-32" "UTF-16" ]]
(doseq [enc [ "UTF-8" "UTF-16BE" "UTF-16LE" "UTF-16" ]]
(spit f content :encoding enc)
(is (= content (slurp f :encoding enc))))
(testing "deprecated arity"
Expand Down

0 comments on commit d82a945

Please sign in to comment.