Back
print-tap-fail (clj)
(source)function
(print-tap-fail msg)
Prints a TAP 'not ok' line. msg is a string, with no line breaks
Examples
clojure/core.typed
(deftest print-tap-diagnostic-test
(is-tc-e #(print-tap-diagnostic "abc") [-> Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]])
(is-tc-err #(print-tap-diagnostic 1) [-> Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]]))
(deftest print-tap-fail-test
(is-tc-e #(print-tap-fail 1) [-> Any]
:requires [[clojure.test.tap :refer [print-tap-fail]]]))
typedclojure/typedclojure
(deftest print-tap-diagnostic-test
(is-tc-e #(print-tap-diagnostic "abc") [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]])
(is-tc-err #(print-tap-diagnostic 1) [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-diagnostic]]]))
(deftest print-tap-fail-test
(is-tc-e #(print-tap-fail 1) [-> t/Any]
:requires [[clojure.test.tap :refer [print-tap-fail]]]))