diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-06 20:05:50 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-06 20:05:50 +0200 |
| commit | 06bdf0f3abeab98d7713d389ae3a2c933317d701 (patch) | |
| tree | d95927ff8e5f78cea72ef93c2f25c99fe6e10a70 /test/clarktown/parsers/code_block_test.clj | |
| parent | cf7f5232f9e31981626135eb0977192ea5e67918 (diff) | |
Test code block
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 |
