Back

print-tap-pass (clj)

(source)

function

(print-tap-pass msg)
Prints a TAP '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-pass-test
  (is-tc-e #(print-tap-pass 1) [-> Any]
           :requires [[clojure.test.tap :refer [print-tap-pass]]]))
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-pass-test
  (is-tc-e #(print-tap-pass 1) [-> t/Any]
           :requires [[clojure.test.tap :refer [print-tap-pass]]]))