Skip to content

Commit 8dab1ab

Browse files
committed
remove vestigeal code from tests
1 parent 75e5669 commit 8dab1ab

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/test/clojure/clojure/data/xml/test_emit.clj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
{:single "'single'quotes'here"
5757
:double "\"double\"quotes\"here\""}))))))
5858

59-
;; TODO add an indentation test once we figure out how to indent portably across JREs
60-
61-
6259
(defn emit-char-seq [xml-tree encoding]
6360
(with-open [bos (java.io.ByteArrayOutputStream.)
6461
stream (java.io.OutputStreamWriter. bos encoding)]
@@ -134,11 +131,6 @@
134131
(xml-comment " goes here ")
135132
" not here")))))
136133

137-
(def xml-decl-newline?
138-
(-> (System/getProperty "java.version")
139-
(.startsWith "1.8")
140-
not))
141-
142134
(deftest test-indent
143135
(let [nested-xml (lazy-parse* (str "<a><b><c><d>foo</d></c></b></a>"))
144136
expect (str "<a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n")

0 commit comments

Comments
 (0)