Update transformer_test.clj
Use more appropriate test without `str/trim`.
This commit is contained in:
parent
44b28902db
commit
ac80507b5f
|
@ -7,7 +7,5 @@
|
||||||
|
|
||||||
(deftest transform-payload
|
(deftest transform-payload
|
||||||
(testing "String `obj` for: 3. A string representation of an (X)HTML fragment;"
|
(testing "String `obj` for: 3. A string representation of an (X)HTML fragment;"
|
||||||
(is (= "# This is a header"
|
(is (= '("\n# This is a header\n")
|
||||||
(str/trim (-> "<h1>This is a header"
|
(transform "<h1>This is a header</h1>" markdown-dispatcher)))))
|
||||||
(transform markdown-dispatcher)
|
|
||||||
(first)))))))
|
|
||||||
|
|
Loading…
Reference in a new issue