From e378a6353ef5fc0180f04c9a955e4f36fd146002 Mon Sep 17 00:00:00 2001 From: janos erdos Date: Sun, 13 Oct 2024 11:54:22 +0200 Subject: [PATCH] dummy test for html() --- test/stencil/functions_test.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/stencil/functions_test.clj b/test/stencil/functions_test.clj index 7f6309e2..8235cb8c 100644 --- a/test/stencil/functions_test.clj +++ b/test/stencil/functions_test.clj @@ -143,4 +143,8 @@ (deftest test-xml (is (stencil.types/control? (call-fn "xml" "text"))) - #_ (is (thrown? ExceptionInfo (call-fn "xml" "invalid xml")))) + #_(is (thrown? ExceptionInfo (call-fn "xml" "invalid xml")))) + +(deftest test-html + (is (stencil.types/control? (call-fn "html" "bold text"))) + (is (stencil.types/control? (call-fn "html" "one two three four"))))