From 9d3ca52ff0b8de432dbd7bb4a5acb6027fde0d19 Mon Sep 17 00:00:00 2001 From: Max Penet Date: Fri, 6 Oct 2023 16:01:09 +0200 Subject: [PATCH] fixup! try out io.github.eerohele/pp --- src/exoscale/lingo.cljc | 10 +++++----- src/exoscale/lingo/highlight.cljc | 2 +- test/exoscale/lingo/test/core_test.cljc | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/exoscale/lingo.cljc b/src/exoscale/lingo.cljc index 1e1cfac..f55181b 100644 --- a/src/exoscale/lingo.cljc +++ b/src/exoscale/lingo.cljc @@ -2,8 +2,8 @@ (:require [clojure.spec.alpha :as s] [clojure.string :as str] [exoscale.lingo.highlight :as h] - [exoscale.lingo.utils :as u] - [exoscale.lingo.impl :as impl])) + [exoscale.lingo.impl :as impl] + [exoscale.lingo.utils :as u])) (create-ns 'exoscale.lingo.pred) @@ -253,9 +253,9 @@ (set-spec-error! `ratio? "should be a Ratio") (set-spec-error! `vector? "should be a Vector") (set-spec-error! `associative? "should be an Associative (map, vector)") -(set-spec-error! `sequential? "should be a Sequential") -(set-spec-error! `seqable? "should be a Seqable") -(set-spec-error! `indexed? "should be an Indexed") +(set-spec-error! `sequential? "should be a Sequential") +(set-spec-error! `seqable? "should be a Seqable") +(set-spec-error! `indexed? "should be an Indexed") (set-spec-error! `number? "should be a Number") (set-spec-error! `bytes? "should be byte array") (set-spec-error! `float? "should be a Float") diff --git a/src/exoscale/lingo/highlight.cljc b/src/exoscale/lingo/highlight.cljc index b2ceca1..8dcd4a5 100644 --- a/src/exoscale/lingo/highlight.cljc +++ b/src/exoscale/lingo/highlight.cljc @@ -1,6 +1,6 @@ (ns exoscale.lingo.highlight (:require #?(:cljs [clojure.pprint :as pp] - :clj [clojure.pprint :as pp]) + :clj [me.flowthing.pp :as pp]) [clojure.string :as str] [exoscale.lingo.utils :as u])) diff --git a/test/exoscale/lingo/test/core_test.cljc b/test/exoscale/lingo/test/core_test.cljc index e471835..93b1839 100644 --- a/test/exoscale/lingo/test/core_test.cljc +++ b/test/exoscale/lingo/test/core_test.cljc @@ -1,9 +1,9 @@ (ns exoscale.lingo.test.core-test - (:require [clojure.test :refer [are deftest is]] + (:require [clojure.spec.alpha :as s] + [clojure.test :refer [are deftest is]] [exoscale.lingo :as l] - [exoscale.lingo.impl :as impl] [exoscale.lingo.highlight :as u] - [clojure.spec.alpha :as s])) + [exoscale.lingo.impl :as impl])) (defn f2? [_] false) (defn f3? [_] false)