Skip to content

Commit

Permalink
dummy test for html()
Browse files Browse the repository at this point in the history
  • Loading branch information
erdos committed Oct 13, 2024
1 parent e8cc103 commit e378a63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/stencil/functions_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,8 @@

(deftest test-xml
(is (stencil.types/control? (call-fn "xml" "<t>text</t>")))
#_ (is (thrown? ExceptionInfo (call-fn "xml" "<a>invalid xml</b>"))))
#_(is (thrown? ExceptionInfo (call-fn "xml" "<a>invalid xml</b>"))))

(deftest test-html
(is (stencil.types/control? (call-fn "html" "<B>bold text</B>")))
(is (stencil.types/control? (call-fn "html" "one <B>two</B> <i>three</i> <b><u>four</u></b>"))))

0 comments on commit e378a63

Please sign in to comment.