Added one more assertion to test dashed names that are split by periods.

This commit is contained in:
Jon Doane 2015-10-11 11:38:50 -04:00
parent 7e78b10ae4
commit f38668edc6

View file

@ -21,7 +21,9 @@
(deftest test-dashed-quote
(binding [*allow-dashed-names?* true]
(is (= (quote-identifier :foo-bar) "foo-bar"))
(is (= (quote-identifier :foo-bar :style :ansi) "\"foo-bar\""))))
(is (= (quote-identifier :foo-bar :style :ansi) "\"foo-bar\""))
(is (= (quote-identifier :foo-bar.moo-bar :style :ansi)
"\"foo-bar\".\"moo-bar\""))))
(deftest test-cte
(is (= (format-clause