Basic quoted tests

This commit is contained in:
Sean Corfield 2019-04-18 18:30:38 -07:00
parent e1fa7055b4
commit 67a2d3918c

View file

@ -1,5 +1,13 @@
;; copyright (c) 2019 Sean Corfield, all rights reserved
(ns next.jdbc.quoted-test
(:require [clojure.test :refer [deftest is testing]]
(:require [clojure.test :refer [deftest are]]
[next.jdbc.quoted :refer :all]))
(deftest basic-quoting
(are [quote-fn quoted] (= (quote-fn "x") quoted)
ansi "\"x\""
mysql "`x`"
sql-server "[x]"
oracle "\"x\""
postgres "\"x\""))