diff options
author | Perl Tidy <perltidy@bugzilla.org> | 2018-12-05 21:38:52 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-12-05 23:49:08 +0100 |
commit | 8ec8da0491ad89604700b3e29a227966f6d84ba1 (patch) | |
tree | 9d270f173330ca19700e0ba9f2ee931300646de1 /t/markdown.t | |
parent | a7bb5a65b71644d9efce5fed783ed545b9336548 (diff) | |
download | bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.gz bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.xz |
no bug - reformat all the code using the new perltidy rules
Diffstat (limited to 't/markdown.t')
-rw-r--r-- | t/markdown.t | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/t/markdown.t b/t/markdown.t index 83e0dc051..ca31fcdc0 100644 --- a/t/markdown.t +++ b/t/markdown.t @@ -13,34 +13,30 @@ use Test2::V0; my $parser = Bugzilla->markdown_parser; -is( - $parser->render_html('# header'), - "<h1>header</h1>\n", - 'Simple header' -); +is($parser->render_html('# header'), "<h1>header</h1>\n", 'Simple header'); is( - $parser->render_html('`code snippet`'), - "<p><code>code snippet</code></p>\n", - 'Simple code snippet' + $parser->render_html('`code snippet`'), + "<p><code>code snippet</code></p>\n", + 'Simple code snippet' ); is( - $parser->render_html('http://bmo-web.vm'), - "<p><a href=\"http://bmo-web.vm\">http://bmo-web.vm</a></p>\n", - 'Autolink extension' + $parser->render_html('http://bmo-web.vm'), + "<p><a href=\"http://bmo-web.vm\">http://bmo-web.vm</a></p>\n", + 'Autolink extension' ); is( - $parser->render_html('<script>hijack()</script>'), - "<script>hijack()</script>\n", - 'Tagfilter extension' + $parser->render_html('<script>hijack()</script>'), + "<script>hijack()</script>\n", + 'Tagfilter extension' ); is( - $parser->render_html('~~strikethrough~~'), - "<p><del>strikethrough</del></p>\n", - 'Strikethrough extension' + $parser->render_html('~~strikethrough~~'), + "<p><del>strikethrough</del></p>\n", + 'Strikethrough extension' ); my $table_markdown = <<'MARKDOWN'; @@ -66,10 +62,6 @@ my $table_html = <<'HTML'; </table> HTML -is( - $parser->render_html($table_markdown), - $table_html, - 'Table extension' -); +is($parser->render_html($table_markdown), $table_html, 'Table extension'); done_testing; |