SCI: use explicit global print-method (#1268)
This commit is contained in:
parent
063a0b01c6
commit
6cf1a3ff6a
3 changed files with 14 additions and 2 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 65c9d0d1b838afdaceece1f74dc7cbac66a658bf
|
||||
Subproject commit 1bc5201effdbd72269deebcfbbb6016e6a1e5df7
|
||||
|
|
@ -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)}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue