summaryrefslogtreecommitdiff
path: root/test/clarktown/parsers/inline_code_test.clj
diff options
context:
space:
mode:
authorAsko Nõmm <asko@bien.ee>2022-04-19 17:50:19 +0300
committerAsko Nõmm <asko@bien.ee>2022-04-19 17:50:19 +0300
commit52203a49aa544b2c11c96445d8732893160c436b (patch)
tree84d7b0e9af92770647643bdf7ddbb898663bd7b8 /test/clarktown/parsers/inline_code_test.clj
parent059bfa7bd9bfdde0c75646bf1dfc20d23da8a02c (diff)
WIP #16
Pretty much done. Needs more testing. And new documentation.
Diffstat (limited to 'test/clarktown/parsers/inline_code_test.clj')
-rw-r--r--test/clarktown/parsers/inline_code_test.clj14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/clarktown/parsers/inline_code_test.clj b/test/clarktown/parsers/inline_code_test.clj
deleted file mode 100644
index 028c4b7..0000000
--- a/test/clarktown/parsers/inline_code_test.clj
+++ /dev/null
@@ -1,14 +0,0 @@
-(ns clarktown.parsers.inline-code-test
- (:require
- [clojure.test :refer [deftest testing is]]
- [clarktown.parsers.inline-code :as inline-code]))
-
-
-(deftest inline-code-test
- (testing "Creating inline code text"
- (is (= "<code>This is inline code.</code>"
- (inline-code/render "`This is inline code.`" nil))))
-
- (testing "Creating inline-code text in the middle of regular text"
- (is (= "This is regular text, mixed with <code>some inline code.</code>, and it's great."
- (inline-code/render "This is regular text, mixed with `some inline code.`, and it's great." nil))))) \ No newline at end of file