#398 || is variadic (by default)
This commit is contained in:
parent
17319cdd26
commit
c4efcc0cad
1 changed files with 3 additions and 1 deletions
|
|
@ -39,4 +39,6 @@
|
||||||
(sql/format {:select [[[sut/atat :a :b] :x]]}))))
|
(sql/format {:select [[[sut/atat :a :b] :x]]}))))
|
||||||
(testing "variadic ops"
|
(testing "variadic ops"
|
||||||
(is (= ["SELECT a -> b -> c AS x"]
|
(is (= ["SELECT a -> b -> c AS x"]
|
||||||
(sql/format {:select [[[:-> :a :b :c] :x]]})))))
|
(sql/format {:select [[[:-> :a :b :c] :x]]})))
|
||||||
|
(is (= ["SELECT a || b || c AS x"]
|
||||||
|
(sql/format {:select [[[:|| :a :b :c] :x]]})))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue