File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed
Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 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*
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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-
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments