summaryrefslogtreecommitdiff
path: root/test/clarktown/renderers/bold_test.clj
diff options
context:
space:
mode:
authorAsko Nõmm <asko@bien.ee>2022-04-21 19:13:02 +0300
committerAsko Nõmm <asko@bien.ee>2022-04-21 19:13:02 +0300
commit04821d8be5d773153718948454c864495704f67b (patch)
tree2b4bf3433ca40f30d0dbd282895e70021a769eda /test/clarktown/renderers/bold_test.clj
parenta178a0b1867cb5194a1a2cd4f6e01ac261bfa4b7 (diff)
Send correctors to each render as well
Diffstat (limited to 'test/clarktown/renderers/bold_test.clj')
-rw-r--r--test/clarktown/renderers/bold_test.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/clarktown/renderers/bold_test.clj b/test/clarktown/renderers/bold_test.clj
index fba0ea6..28d9da8 100644
--- a/test/clarktown/renderers/bold_test.clj
+++ b/test/clarktown/renderers/bold_test.clj
@@ -7,12 +7,12 @@
(deftest bold-renderer-test
(testing "Creating bold text with two surrounding asterisk characters"
(is (= "<strong>This is bold.</strong>"
- (bold/render "**This is bold.**" nil))))
+ (bold/render "**This is bold.**" nil nil))))
(testing "Creating bold text with two surrounding underscore characters"
(is (= "<strong>This is bold.</strong>"
- (bold/render "__This is bold.__" nil))))
+ (bold/render "__This is bold.__" nil nil))))
(testing "Creating bold text with both underscores and asterisks mixed"
(is (= "Hi, my name is <strong>John</strong>, what is <strong>your name?</strong>"
- (bold/render "Hi, my name is **John**, what is __your name?__" nil))))) \ No newline at end of file
+ (bold/render "Hi, my name is **John**, what is __your name?__" nil nil))))) \ No newline at end of file