HTML-Tiny
view release on metacpan or search on metacpan
t/020-coverage.t view on Meta::CPAN
"expect_scalar" => "<h5>one</h5><h5>two</h5>",
"method" => "h5"
},
{
"expect_list" => [ "<h6>one</h6>", "<h6>two</h6>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<h6>one</h6><h6>two</h6>",
"method" => "h6"
},
{
"expect_list" => [ "<head>one</head>\n", "<head>two</head>\n" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<head>one</head>\n<head>two</head>\n",
"method" => "head"
},
{
"expect_list" => [ "<html>one</html>\n", "<html>two</html>\n" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<html>one</html>\n<html>two</html>\n",
"method" => "html"
},
{
"expect_list" => [ "<i>one</i>", "<i>two</i>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<i>one</i><i>two</i>",
"method" => "i"
},
{
"expect_list" =>
[ "<mark>one</mark>", "<mark>two</mark>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<mark>one</mark><mark>two</mark>",
"method" => "mark"
},
{
"expect_list" => [ "<ins>one</ins>", "<ins>two</ins>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<ins>one</ins><ins>two</ins>",
"method" => "ins"
},
{
"expect_list" => ["[{},{},null,{\"x\":1}]"],
"args" => [ [ {}, {}, undef, { x => 1 } ] ],
"expect_scalar" => "[{},{},null,{\"x\":1}]",
"method" => "json_encode"
},
{
"expect_list" => [ "<kbd>one</kbd>", "<kbd>two</kbd>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<kbd>one</kbd><kbd>two</kbd>",
"method" => "kbd"
},
{
"expect_list" => [ "<label>one</label>", "<label>two</label>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<label>one</label><label>two</label>",
"method" => "label"
},
{
"expect_list" =>
[ "<legend>one</legend>", "<legend>two</legend>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<legend>one</legend><legend>two</legend>",
"method" => "legend"
},
{
"expect_list" => [ "<li>one</li>", "<li>two</li>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<li>one</li><li>two</li>",
"method" => "li"
},
{
"expect_list" => [ "<map>one</map>", "<map>two</map>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<map>one</map><map>two</map>",
"method" => "map"
},
{
"expect_list" =>
[ "<noframes>one</noframes>", "<noframes>two</noframes>" ],
"args" => [ "one", "two" ],
"expect_scalar" =>
"<noframes>one</noframes><noframes>two</noframes>",
"method" => "noframes"
},
{
"expect_list" =>
[ "<noscript>one</noscript>", "<noscript>two</noscript>" ],
"args" => [ "one", "two" ],
"expect_scalar" =>
"<noscript>one</noscript><noscript>two</noscript>",
"method" => "noscript"
},
{
"expect_list" =>
[ "<object>one</object>", "<object>two</object>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<object>one</object><object>two</object>",
"method" => "object"
},
{
"expect_list" => [ "<ol>one</ol>", "<ol>two</ol>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<ol>one</ol><ol>two</ol>",
"method" => "ol"
},
{
"args" => ['pie'],
"expect_scalar" => "<pie>",
"method" => "open"
},
{
"expect_list" =>
[ "<optgroup>one</optgroup>", "<optgroup>two</optgroup>" ],
"args" => [ "one", "two" ],
"expect_scalar" =>
"<optgroup>one</optgroup><optgroup>two</optgroup>",
"method" => "optgroup"
},
{
"expect_list" =>
[ "<option>one</option>", "<option>two</option>" ],
"args" => [ "one", "two" ],
"expect_scalar" => "<option>one</option><option>two</option>",
( run in 2.725 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )