From 595b790a580dbba11721fdb720486d18289c0d50 Mon Sep 17 00:00:00 2001 From: Allen Gilliland <agilliland@gmail.com> Date: Tue, 1 Mar 2016 07:48:51 -0800 Subject: [PATCH] don't fail unit tests for docstrings. --- test/metabase/test_setup.clj | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/metabase/test_setup.clj b/test/metabase/test_setup.clj index d9bbd2057fd..8ad0888ae50 100644 --- a/test/metabase/test_setup.clj +++ b/test/metabase/test_setup.clj @@ -113,11 +113,3 @@ [symb varr] (ns-publics ns) :when (not (:doc (meta varr)))] (symbol (str (ns-name ns) "/" symb))))) - -(defn- throw-if-metabase-doesnt-have-enough-docstrings! - {:expectations-options :before-run} - [] - (when-let [things-that-need-dox (seq (things-that-need-dox))] - (println (u/format-color 'red "Every public var in Metabase might as well have a docstring! Go write some for the following (or make them ^:private):\n%s" - (u/pprint-to-str things-that-need-dox))) - (System/exit -1))) -- GitLab