diff --git a/sci b/sci index 65c9d0d1..1bc5201e 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 65c9d0d1b838afdaceece1f74dc7cbac66a658bf +Subproject commit 1bc5201effdbd72269deebcfbbb6016e6a1e5df7 diff --git a/src/babashka/impl/clojure/core.clj b/src/babashka/impl/clojure/core.clj index aafdee3b..44f2ccaf 100644 --- a/src/babashka/impl/clojure/core.clj +++ b/src/babashka/impl/clojure/core.clj @@ -195,5 +195,6 @@ 'abs (sci/copy-var abs clojure-core-ns) 'StackTraceElement->vec (sci/copy-var StackTraceElement->vec clojure-core-ns) 'memfn (sci/copy-var memfn clojure-core-ns) - 'into-array (sci/copy-var into-array clojure-core-ns)} + 'into-array (sci/copy-var into-array clojure-core-ns) + 'print-method (sci/copy-var print-method clojure-core-ns)} ) diff --git a/test-resources/lib_tests/honeysql/core_test.cljc b/test-resources/lib_tests/honeysql/core_test.cljc index d1fc2f8b..c5736c6c 100644 --- a/test-resources/lib_tests/honeysql/core_test.cljc +++ b/test-resources/lib_tests/honeysql/core_test.cljc @@ -11,6 +11,17 @@ insert-into with merge-where merge-having]] honeysql.format-test)) +;; BB_TEST_PATCH: must explicitly set data readers +#?(:clj + (do + (require '[honeysql.types]) + (set! *data-readers* {'sql/call honeysql.types/read-sql-call + 'sql/inline honeysql.types/read-sql-inline + 'sql/raw honeysql.types/read-sql-raw + 'sql/param honeysql.types/read-sql-param + 'sql/array honeysql.types/read-sql-array + 'sql/regularize honeysql.format/regularize}))) + ;; TODO: more tests (deftest test-select