wip
This commit is contained in:
parent
56880b3093
commit
6952ab16a3
2 changed files with 5 additions and 1 deletions
1
deps.edn
1
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"]}}}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue