Basic quoted tests
This commit is contained in:
parent
e1fa7055b4
commit
67a2d3918c
1 changed files with 9 additions and 1 deletions
|
|
@ -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\""))
|
||||
|
|
|
|||
Loading…
Reference in a new issue