Test cleanup
This commit is contained in:
parent
d4f79a68fd
commit
d5ee7defd9
1 changed files with 3 additions and 5 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
;; copyright (c) 2019 Sean Corfield, all rights reserved
|
||||||
|
|
||||||
(ns next.jdbc-test
|
(ns next.jdbc-test
|
||||||
"Not exactly a test suite -- more a series of examples."
|
"Not exactly a test suite -- more a series of examples."
|
||||||
(:require [clojure.string :as str]
|
(:require [clojure.string :as str]
|
||||||
|
|
@ -7,12 +9,8 @@
|
||||||
[next.jdbc.sql :refer :all])
|
[next.jdbc.sql :refer :all])
|
||||||
(:import (java.sql ResultSet ResultSetMetaData)))
|
(:import (java.sql ResultSet ResultSetMetaData)))
|
||||||
|
|
||||||
(deftest a-test
|
|
||||||
(testing "FIXME, I fail."
|
|
||||||
(is (= 0 1))))
|
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
(def db-spec {:dbtype "h2:mem" :dbname "perf"})
|
(def db-spec {:dbtype "h2:mem" :dbname "clojure_test_perf"})
|
||||||
;; these should be equivalent
|
;; these should be equivalent
|
||||||
(def con (get-connection (get-datasource db-spec) {}))
|
(def con (get-connection (get-datasource db-spec) {}))
|
||||||
(def con (get-connection db-spec {}))
|
(def con (get-connection db-spec {}))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue