diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-09 14:55:08 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-09 14:55:08 +0200 |
| commit | 732eeb88b4754e7945249c650fbe79ce5c7af063 (patch) | |
| tree | 69e05b936677491c3be4e24f1c8757c458ca4b34 /test | |
| parent | a7f9e4bc176cff30a008acc89bd4b3cb923a1919 (diff) | |
Add full test coverage for horizontal line block (re #4)
Diffstat (limited to 'test')
| -rw-r--r-- | test/clarktown/parsers/horizontal_line_block_test.clj | 10 |
1 files changed, 10 insertions, 0 deletions
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 (= "<hr>" + (horizontal-line-block/render "***" nil)))))
\ No newline at end of file |
