From 732eeb88b4754e7945249c650fbe79ce5c7af063 Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Sat, 9 Apr 2022 14:55:08 +0200 Subject: Add full test coverage for horizontal line block (re #4) --- test/clarktown/parsers/horizontal_line_block_test.clj | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/clarktown/parsers/horizontal_line_block_test.clj (limited to 'test/clarktown') diff --git a/test/clarktown/parsers/horizontal_line_block_test.clj b/test/clarktown/parsers/horizontal_line_block_test.clj new file mode 100644 index 0000000..c8c0e90 --- /dev/null +++ b/test/clarktown/parsers/horizontal_line_block_test.clj @@ -0,0 +1,10 @@ +(ns clarktown.parsers.horizontal-line-block-test + (:require + [clojure.test :refer [deftest testing is]] + [clarktown.parsers.horizontal-line-block :as horizontal-line-block])) + + +(deftest horizontal-line-block-test + (testing "Creating a horizontal line" + (is (= "
" + (horizontal-line-block/render "***" nil))))) \ No newline at end of file -- cgit v1.2.3