Get rid of conch
This commit is contained in:
parent
e6b211a030
commit
91106b5401
1 changed files with 22 additions and 0 deletions
22
test/babashka/bb_edn_test.clj
Normal file
22
test/babashka/bb_edn_test.clj
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
(ns babashka.bb-edn-test
|
||||
{:clj-kondo/config '{:linters {:unresolved-symbol {:exclude [working?]}}}}
|
||||
(:require
|
||||
[babashka.test-utils :as test-utils]
|
||||
[clojure.edn :as edn]
|
||||
[clojure.java.io :as io]
|
||||
[clojure.java.shell :refer [sh]]
|
||||
[clojure.string :as str]
|
||||
[clojure.test :as test :refer [deftest is testing *report-counters*]]
|
||||
[flatland.ordered.map :refer [ordered-map]]
|
||||
[sci.core :as sci])
|
||||
)
|
||||
|
||||
(defn bb [input & args]
|
||||
(edn/read-string
|
||||
{:readers *data-readers*
|
||||
:eof nil}
|
||||
(apply test-utils/bb (when (some? input) (str input)) (map str args))))
|
||||
|
||||
(deftest foobar-test
|
||||
(prn :foobar))
|
||||
|
||||
Loading…
Reference in a new issue