Skip to content

Commit c1d6eb0

Browse files
committed
Cleanup and formatting
1 parent 35fda29 commit c1d6eb0

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/clj_commons/format/exceptions.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -804,12 +804,12 @@
804804

805805
(def ^:private re-more-frames
806806
#"(?ix)
807-
\s+
808-
\Q...\E
809-
\s+
810-
\d+
811-
\s+
812-
(?:more|\Qcommon frames omitted\E)")
807+
\s+
808+
\Q...\E
809+
\s+
810+
\d+
811+
\s+
812+
(?:more|\Qcommon frames omitted\E)")
813813

814814
(defn- add-message-text
815815
[exceptions line]

test/clj_commons/exception_test.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[clojure.string :as string]
55
[clojure.test :refer [deftest is use-fixtures testing]]
66
[matcher-combinators.matchers :as m]
7-
[clj-commons.ansi :as ansi :refer [*color-enabled*]]
7+
[clj-commons.ansi :refer [*color-enabled*]]
88
[clj-commons.pretty-impl :refer [csi]]
99
[clj-commons.format.exceptions :as f :refer [*fonts* parse-exception format-exception]]))
1010

@@ -612,7 +612,6 @@ failed with ABC123"
612612
slurp
613613
(parse-exception nil)
614614
(f/format-exception* nil)
615-
ansi/compose
616615
string/split-lines)))
617616

618617
(deftest parse-no-message-exception

0 commit comments

Comments
 (0)