Skip to content

Commit 6fde5ec

Browse files
committed
Fix lint warnings
1 parent 2f6c66f commit 6fde5ec

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

test/clj_commons/ansi_test.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
(ns clj-commons.ansi-test
2-
(:require [clj-commons.ansi :as ansi]
3-
[clj-commons.test-common :as tc]
2+
(:require [clj-commons.test-common :as tc]
43
[clojure.string :as str]
54
[clojure.test :refer [deftest is are use-fixtures]]
6-
[clj-commons.ansi :refer [compose *color-enabled*]]
5+
[clj-commons.ansi :as ansi :refer [compose *color-enabled*]]
76
[clj-commons.pretty-impl :refer [csi]]
7+
[matcher-combinators.test :refer [match?]]
88
[matcher-combinators.matchers :as m]))
99

1010
(use-fixtures :once tc/spec-fixture tc/force-ansi-fixture)
1111

12-
(deftest sanity-check
12+
(deftest sanity-check-color-is-enabled
1313
(is (= true *color-enabled*)))
1414

1515
(defn- safe-compose*

test/clj_commons/binary_test.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[clj-commons.format.binary :as b]
55
[clj-commons.test-common :as tc]
66
[clojure.string :as string]
7+
[matcher-combinators.test :refer [match?]]
78
[clojure.test :refer [deftest is are use-fixtures]])
89
(:import (java.nio ByteBuffer)))
910

test/clj_commons/pretty/annotations_test.clj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[clj-commons.ansi :as ansi]
44
[clj-commons.test-common :as tc]
55
[clj-commons.pretty.annotations :as a :refer [callouts default-style annotate-lines]]
6+
[matcher-combinators.test :refer [match?]]
67
[matcher-combinators.matchers :as m])
78
(:import (clojure.lang ExceptionInfo)))
89

@@ -224,9 +225,3 @@
224225
(deftest wrong-marker-type
225226
(is (thrown-with-msg? ExceptionInfo #"Marker should be a function or a string"
226227
(extend-marker 0 5))))
227-
228-
229-
230-
231-
232-

test/clj_commons/test_common.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(ns clj-commons.test-common
22
(:require clj-commons.pretty.spec
33
[clojure.spec.test.alpha :as stest]
4-
matcher-combinators.clj-test
54
[clj-commons.ansi :as ansi]))
65

76
(defn spec-fixture

0 commit comments

Comments
 (0)