From c4efcc0cadaee7c588cea8e9e3f92aaf3af8a63f Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Sat, 26 Mar 2022 08:33:05 -0700 Subject: [PATCH] #398 || is variadic (by default) --- test/honey/sql/pg_json_test.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/honey/sql/pg_json_test.cljc b/test/honey/sql/pg_json_test.cljc index d046135..58fbbc0 100644 --- a/test/honey/sql/pg_json_test.cljc +++ b/test/honey/sql/pg_json_test.cljc @@ -39,4 +39,6 @@ (sql/format {:select [[[sut/atat :a :b] :x]]})))) (testing "variadic ops" (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]]})))))