fix broken test

Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
Sean Corfield 2024-02-09 22:42:06 -08:00
parent fc983927ce
commit c9867097e8
No known key found for this signature in database

View file

@ -410,7 +410,7 @@
(deftest select-agg-order-by-test (deftest select-agg-order-by-test
(testing "single expression in order by" (testing "single expression in order by"
(is (= ["SELECT ARRAY_AGG(a ORDER BY x) FROM products"] (is (= ["SELECT ARRAY_AGG(a ORDER BY x ASC) FROM products"]
(sql/format (sql/format
{:select [[[:array_agg [:order-by :a :x]]]] {:select [[[:array_agg [:order-by :a :x]]]]
:from :products})))) :from :products}))))