diff options
Diffstat (limited to 'test/clarktown/parsers/code_block_test.clj')
| -rw-r--r-- | test/clarktown/parsers/code_block_test.clj | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/clarktown/parsers/code_block_test.clj b/test/clarktown/parsers/code_block_test.clj new file mode 100644 index 0000000..1bd51b2 --- /dev/null +++ b/test/clarktown/parsers/code_block_test.clj @@ -0,0 +1,9 @@ +(ns clarktown.parsers.code-block-test + (:require [clojure.test :refer [deftest testing is]] + [clarktown.parsers.code-block :as code-block])) + + +(deftest code-block-test + (testing "Code block" + (is (= (slurp "./resources/test/parsers/code_block_result.html") + (code-block/render (slurp "./resources/test/parsers/code_block.md") nil)))))
\ No newline at end of file |
