summaryrefslogtreecommitdiff
path: root/test/clarktown
diff options
context:
space:
mode:
Diffstat (limited to 'test/clarktown')
-rw-r--r--test/clarktown/parsers/code_block_test.clj8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/clarktown/parsers/code_block_test.clj b/test/clarktown/parsers/code_block_test.clj
index 20b69aa..8b1113d 100644
--- a/test/clarktown/parsers/code_block_test.clj
+++ b/test/clarktown/parsers/code_block_test.clj
@@ -6,6 +6,10 @@
(deftest code-block-test
- (testing "Code block"
+ (testing "Code block with language specification"
(is (= (slurp (io/file (io/resource "test/parsers/code_block_result.html")))
- (code-block/render (slurp (io/file (io/resource "test/parsers/code_block.md"))) nil))))) \ No newline at end of file
+ (code-block/render (slurp (io/file (io/resource "test/parsers/code_block.md"))) nil))))
+
+ (testing "Code block with NO language specification"
+ (is (= (slurp (io/file (io/resource "test/parsers/code_block_no_language_result.html")))
+ (code-block/render (slurp (io/file (io/resource "test/parsers/code_block_no_language.md"))) nil))))) \ No newline at end of file