diff --git a/modules/xml/src/test/clojure/clojure/data/xml/test_emit.clj b/modules/xml/src/test/clojure/clojure/data/xml/test_emit.clj index 5f5aee1..0305b92 100644 --- a/modules/xml/src/test/clojure/clojure/data/xml/test_emit.clj +++ b/modules/xml/src/test/clojure/clojure/data/xml/test_emit.clj @@ -35,6 +35,17 @@ "")] (is (= expect (with-out-str (xml/emit deep-tree)))))) +(deftest namespaced + (is (= (str "" + "" + "" + "") + (with-out-str + (xml/emit (element :body + {:xmlns/api "http://some.uri.com/location"} + (element :api/method + {:args "" :ret "int"}))))))) + (deftest mixed-quotes (is (= (str "" "