diff options
| author | Asko Nõmm <ano@ano.ee> | 2022-05-08 12:23:35 +0300 |
|---|---|---|
| committer | Asko Nõmm <ano@ano.ee> | 2022-05-08 12:23:35 +0300 |
| commit | b97891cc45b9a087a372767e25aa36788bc979bf (patch) | |
| tree | 0401ef1f090575c36f9e110eaeb50412e3fd4139 /test/clarktown/matchers/fenced_code_block_test.clj | |
| parent | ff2279150638b43aab4e65b2578a5dbd348e21d8 (diff) | |
Naming improvements, code block matcher test
Diffstat (limited to 'test/clarktown/matchers/fenced_code_block_test.clj')
| -rw-r--r-- | test/clarktown/matchers/fenced_code_block_test.clj | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/clarktown/matchers/fenced_code_block_test.clj b/test/clarktown/matchers/fenced_code_block_test.clj new file mode 100644 index 0000000..5961c6d --- /dev/null +++ b/test/clarktown/matchers/fenced_code_block_test.clj @@ -0,0 +1,10 @@ +(ns clarktown.matchers.fenced-code-block-test + (:require + [clojure.test :refer [deftest testing is]] + [clarktown.matchers.fenced-code-block :as code-block])) + + +(deftest fenced-code-block-matcher-test + (testing "Checking a fenced code block" + (is (true? (code-block/match? "```\nblabla```"))) + (is (true? (code-block/match? "```language-spec\nblabla```"))))) |
