diff --git a/deps.edn b/deps.edn index e3051185..e0eef190 100644 --- a/deps.edn +++ b/deps.edn @@ -7,6 +7,7 @@ org.clojure/core.async {:mvn/version "0.4.500"}, org.clojure/tools.cli {:mvn/version "0.4.2"}, org.clojure/data.csv {:mvn/version "0.1.4"}, + org.clojure/data.xml {:mvn/version "0.2.0-alpha6"}, cheshire {:mvn/version "5.9.0"}} :aliases {:main {:main-opts ["-m" "babashka.main"]}}} diff --git a/test/babashka/main_test.clj b/test/babashka/main_test.clj index 0e90881b..10f92793 100644 --- a/test/babashka/main_test.clj +++ b/test/babashka/main_test.clj @@ -330,12 +330,15 @@ (is (true? (bb nil "(nil? *command-line-args*)"))) (is (= ["1" "2" "3"] (bb nil "*command-line-args*" "1" "2" "3")))) -(deftest need-constructors-test +(deftest constructors-test (testing "the clojure.lang.Delay constructor works" (is (= 1 (bb nil "@(delay 1)")))) (testing "the clojure.lang.MapEntry constructor works" (is (true? (bb nil "(= (first {1 2}) (clojure.lang.MapEntry. 1 2))"))))) +(deftest clojure-data-xml-test + #_(is (= ))) + ;;;; Scratch (comment