From 2f4792253ac05684183c1a0a10815466a5808f77 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Fri, 9 Feb 2024 22:39:38 -0800 Subject: [PATCH] clean up some lint warnings Signed-off-by: Sean Corfield --- test/honey/ops_test.cljc | 5 ++--- test/honey/sql/postgres_test.cljc | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/test/honey/ops_test.cljc b/test/honey/ops_test.cljc index 870b473..24d9e8d 100644 --- a/test/honey/ops_test.cljc +++ b/test/honey/ops_test.cljc @@ -3,10 +3,9 @@ (ns honey.ops-test (:refer-clojure :exclude [format]) (:require [clojure.test :refer [deftest is]] - [honey.sql :as sut] - [honey.sql :as sql])) + [honey.sql :as sut])) (deftest issue-454 (is (= ["SELECT a - b - c AS x"] (-> {:select [[[:- :a :b :c] :x]]} - (sql/format))))) + (sut/format))))) diff --git a/test/honey/sql/postgres_test.cljc b/test/honey/sql/postgres_test.cljc index 56fc1a5..4c19820 100644 --- a/test/honey/sql/postgres_test.cljc +++ b/test/honey/sql/postgres_test.cljc @@ -410,10 +410,10 @@ (deftest select-agg-order-by-test (testing "single expression in order by" - (is (= ["SELECT ARRAY_AGG(a ORDER BY x) FROM products"]) - (sql/format - {:select [[[:array_agg [:order-by :a :x]]]] - :from :products}))) + (is (= ["SELECT ARRAY_AGG(a ORDER BY x) FROM products"] + (sql/format + {:select [[[:array_agg [:order-by :a :x]]]] + :from :products})))) (testing "multiple expressions in order by" (is (= ["SELECT ARRAY_AGG(a ORDER BY x ASC, y DESC, z ASC) FROM products"] (sql/format