Test cleanup

This commit is contained in:
Sean Corfield 2019-04-18 22:43:27 -07:00
parent d4f79a68fd
commit d5ee7defd9

View file

@ -1,3 +1,5 @@
;; copyright (c) 2019 Sean Corfield, all rights reserved
(ns next.jdbc-test
"Not exactly a test suite -- more a series of examples."
(:require [clojure.string :as str]
@ -7,12 +9,8 @@
[next.jdbc.sql :refer :all])
(:import (java.sql ResultSet ResultSetMetaData)))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
(comment
(def db-spec {:dbtype "h2:mem" :dbname "perf"})
(def db-spec {:dbtype "h2:mem" :dbname "clojure_test_perf"})
;; these should be equivalent
(def con (get-connection (get-datasource db-spec) {}))
(def con (get-connection db-spec {}))