fixes #337 by using clojure.test for cljs
This commit is contained in:
parent
98e94ada67
commit
a393cd89e2
5 changed files with 6 additions and 8 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
* 2.0.next in progress
|
* 2.0.next in progress (2.x will be VGN only)
|
||||||
|
* Fix #337 by switching to `clojure.test` even for ClojureScript.
|
||||||
* Address #330 by improving exception when a non-entity is encountered where an entity is expected.
|
* Address #330 by improving exception when a non-entity is encountered where an entity is expected.
|
||||||
* Fix bug in unrolling nested argument to `with-columns` helper.
|
* Fix bug in unrolling nested argument to `with-columns` helper.
|
||||||
|
|
||||||
|
|
|
||||||
2
deps.edn
2
deps.edn
|
|
@ -17,7 +17,7 @@
|
||||||
:main-opts ["-m" "seancorfield.readme"]}
|
:main-opts ["-m" "seancorfield.readme"]}
|
||||||
:eastwood {:extra-deps {jonase/eastwood {:mvn/version "0.5.1"}}
|
:eastwood {:extra-deps {jonase/eastwood {:mvn/version "0.5.1"}}
|
||||||
:main-opts ["-m" "eastwood.lint" "{:source-paths,[\"src\"]}"]}
|
:main-opts ["-m" "eastwood.lint" "{:source-paths,[\"src\"]}"]}
|
||||||
:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.0.216"}}
|
:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.1.267"}}
|
||||||
:exec-fn hf.depstar/jar
|
:exec-fn hf.depstar/jar
|
||||||
:exec-args {:jar "honeysql.jar" :sync-pom true}}
|
:exec-args {:jar "honeysql.jar" :sync-pom true}}
|
||||||
:install {:replace-deps {slipset/deps-deploy {:mvn/version "0.1.5"}}
|
:install {:replace-deps {slipset/deps-deploy {:mvn/version "0.1.5"}}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
(ns honey.sql.helpers-test
|
(ns honey.sql.helpers-test
|
||||||
(:refer-clojure :exclude [filter for group-by partition-by set update])
|
(:refer-clojure :exclude [filter for group-by partition-by set update])
|
||||||
(:require #?(:clj [clojure.test :refer [deftest is testing]]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
:cljs [cljs.test :refer-macros [deftest is testing]])
|
|
||||||
[honey.sql :as sql]
|
[honey.sql :as sql]
|
||||||
[honey.sql.helpers :as h
|
[honey.sql.helpers :as h
|
||||||
:refer [add-column add-index alter-table columns create-table create-table-as create-view
|
:refer [add-column add-index alter-table columns create-table create-table-as create-view
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,7 @@
|
||||||
|
|
||||||
(ns honey.sql.postgres-test
|
(ns honey.sql.postgres-test
|
||||||
(:refer-clojure :exclude [update partition-by set])
|
(:refer-clojure :exclude [update partition-by set])
|
||||||
(:require #?(:clj [clojure.test :refer [deftest is testing]]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
:cljs [cljs.test :refer-macros [deftest is testing]])
|
|
||||||
;; pull in all the PostgreSQL helpers that the nilenso
|
;; pull in all the PostgreSQL helpers that the nilenso
|
||||||
;; library provided (as well as the regular HoneySQL ones):
|
;; library provided (as well as the regular HoneySQL ones):
|
||||||
[honey.sql.helpers :as sqlh :refer
|
[honey.sql.helpers :as sqlh :refer
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@
|
||||||
(ns honey.sql-test
|
(ns honey.sql-test
|
||||||
(:refer-clojure :exclude [format])
|
(:refer-clojure :exclude [format])
|
||||||
(:require [clojure.string :as str]
|
(:require [clojure.string :as str]
|
||||||
#?(:clj [clojure.test :refer [deftest is testing]]
|
[clojure.test :refer [deftest is testing]]
|
||||||
:cljs [cljs.test :refer-macros [deftest is testing]])
|
|
||||||
[honey.sql :as sut :refer [format]]
|
[honey.sql :as sut :refer [format]]
|
||||||
[honey.sql.helpers :as h])
|
[honey.sql.helpers :as h])
|
||||||
#?(:clj (:import (clojure.lang ExceptionInfo))))
|
#?(:clj (:import (clojure.lang ExceptionInfo))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue