Permalink
Browse files

don't test encodings that do not exist on all Java installations

  • Loading branch information...
1 parent ed232f0 commit d82a945fb34a5c544674f7769ea5f918bd9042d6 @stuarthalloway stuarthalloway committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/clojure/test_clojure/java/io.clj
@@ -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"

0 comments on commit d82a945

Please sign in to comment.