From 91106b5401de278d503c06271b7734b364e5c8ad Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 20 Mar 2021 12:30:33 +0100 Subject: [PATCH] Get rid of conch --- test/babashka/bb_edn_test.clj | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/babashka/bb_edn_test.clj diff --git a/test/babashka/bb_edn_test.clj b/test/babashka/bb_edn_test.clj new file mode 100644 index 00000000..f81bae88 --- /dev/null +++ b/test/babashka/bb_edn_test.clj @@ -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)) +