File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Clojure.Tests/clojure/test_clojure/clr Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7009,7 +7009,7 @@ clojure.lang.IKVReduce
7009
7009
7010
7010
(defn- normalize-slurp-opts
7011
7011
[opts]
7012
- (if (not ( keyword? ( first opts))) ; ;; ( string? (first opts))
7012
+ (if (string? (first opts))
7013
7013
(do
7014
7014
(println " WARNING: (slurp f enc) is deprecated, use (slurp f :encoding enc)." )
7015
7015
[:encoding (first opts)])
Original file line number Diff line number Diff line change 61
61
(is (=
62
62
(platform-newlines " WARNING: (slurp f enc) is deprecated, use (slurp f :encoding enc).\n " )
63
63
(with-out-str
64
- (is (= content (slurp f utf16 ))))))))))
64
+ (is (= content (slurp f " utf-16 " ))))))))))
65
65
66
66
(deftest test-streams-defaults
67
67
(let [f (temp-file " test-reader-writer" )
You can’t perform that action at this time.
0 commit comments