Skip to content

Commit

Permalink
Amend element test
Browse files Browse the repository at this point in the history
  • Loading branch information
skyizwhite committed Jun 8, 2024
1 parent 8f14d58 commit 24c618c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/element.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
:pretty t)))
(is (string= #M"<p>
\ <span>foo</span>
\</p>"
</p>"
(render-to-string (create-element :p
nil
(list (create-element :span
Expand All @@ -58,7 +58,7 @@
(is (string= #M"<p>
\ foo
\ <span>bar</span>
\</p>"
</p>"
(render-to-string (create-element :p
nil
(list "foo"
Expand All @@ -78,7 +78,7 @@
(is (string= #M"<p prop1=\"value1\" prop2>
\ foo
\ <span>bar</span>
\</p>"
</p>"
(render-to-string (create-element :p
(list :prop1 "value1"
:prop2 t
Expand Down Expand Up @@ -127,7 +127,7 @@
\ <li>bar</li>
\ <li>baz</li>
\ <li>brah</li>
\</ul>"
</ul>"
(render-to-string (create-element :ul
nil
(list (create-element :li
Expand Down

0 comments on commit 24c618c

Please sign in to comment.