Skip to content

Commit

Permalink
more tests for tag helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 9, 2016
1 parent ccbd7e9 commit cb226a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/mojolicious/tag_helper_lite_app.t
Expand Up @@ -67,6 +67,7 @@ EOF
# Shortcut
$t->get_ok('/small_tags')->status_is(200)->content_is(<<EOF);
<div id="&amp;lt;">test &amp; 123</div>
<div data-foo="&gt;" id="&lt;">test&nbsp;321</div>
<div>
<p id="0">just</p>
<p>0</p>
Expand Down Expand Up @@ -511,6 +512,7 @@ __DATA__
@@ small_tags.html.ep
%=t div => (id => '&lt;') => 'test & 123'
%=t div => (id => b('&lt;'), data => {foo => b('&gt;')}) => b('test&nbsp;321')
%=t div => begin
%=t p => (id => 0) => 'just'
%=t p => 0
Expand Down

0 comments on commit cb226a2

Please sign in to comment.