diff options
| author | Asko Nõmm <asko@bien.ee> | 2022-04-21 19:13:02 +0300 |
|---|---|---|
| committer | Asko Nõmm <asko@bien.ee> | 2022-04-21 19:13:02 +0300 |
| commit | 04821d8be5d773153718948454c864495704f67b (patch) | |
| tree | 2b4bf3433ca40f30d0dbd282895e70021a769eda /test/clarktown/renderers/italic_test.clj | |
| parent | a178a0b1867cb5194a1a2cd4f6e01ac261bfa4b7 (diff) | |
Send correctors to each render as well
Diffstat (limited to 'test/clarktown/renderers/italic_test.clj')
| -rw-r--r-- | test/clarktown/renderers/italic_test.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/clarktown/renderers/italic_test.clj b/test/clarktown/renderers/italic_test.clj index 29e7811..e85ee36 100644 --- a/test/clarktown/renderers/italic_test.clj +++ b/test/clarktown/renderers/italic_test.clj @@ -7,12 +7,12 @@ (deftest italic-renderer-test (testing "Creating italic text with one surrounding asterisk character" (is (= "<em>This is italic.</em>" - (italic/render "*This is italic.*" nil)))) + (italic/render "*This is italic.*" nil nil)))) (testing "Creating italic text with one surrounding underscore character" (is (= "<em>This is italic.</em>" - (italic/render "_This is italic._" nil)))) + (italic/render "_This is italic._" nil nil)))) (testing "Creating italic text with both underscores and asterisks mixed" (is (= "Hi, my name is <em>John</em>, what is <em>your name?</em>" - (italic/render "Hi, my name is *John*, what is _your name?_" nil)))))
\ No newline at end of file + (italic/render "Hi, my name is *John*, what is _your name?_" nil nil)))))
\ No newline at end of file |
