summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/clarktown/parsers/horizontal_line_block_test.clj10
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