We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e5669 commit 8dab1abCopy full SHA for 8dab1ab
1 file changed
src/test/clojure/clojure/data/xml/test_emit.clj
@@ -56,9 +56,6 @@
56
{:single "'single'quotes'here"
57
:double "\"double\"quotes\"here\""}))))))
58
59
-;; TODO add an indentation test once we figure out how to indent portably across JREs
60
-
61
62
(defn emit-char-seq [xml-tree encoding]
63
(with-open [bos (java.io.ByteArrayOutputStream.)
64
stream (java.io.OutputStreamWriter. bos encoding)]
@@ -134,11 +131,6 @@
134
131
(xml-comment " goes here ")
135
132
" not here")))))
136
133
137
-(def xml-decl-newline?
138
- (-> (System/getProperty "java.version")
139
- (.startsWith "1.8")
140
- not))
141
142
(deftest test-indent
143
(let [nested-xml (lazy-parse* (str "<a><b><c><d>foo</d></c></b></a>"))
144
expect (str "<a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n")
0 commit comments