next-jdbc/test/next/jdbc/quoted_test.clj
Sean Corfield 42cfe88859 Stub test namespaces
Outline some of the things we might test.
2019-04-18 21:51:58 -07:00

15 lines
469 B
Clojure

;; copyright (c) 2019 Sean Corfield, all rights reserved
(ns next.jdbc.quoted-test
"Basic tests for quoting strategies. These are also tested indirectly
via the next.jdbc.sql tests."
(: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\""))