diff --git a/t/03-formatting.t b/t/03-formatting.t index f17edcc..9930dee 100755 --- a/t/03-formatting.t +++ b/t/03-formatting.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 11; +use Test::More tests => 13; use MarkdownParser; my $parser = MarkdownParser->new(); @@ -62,4 +62,7 @@ is( "

bold text

\n", "Bold with ___" ); - +is( $parser->parse("my_variable"), + "

my_variable

\n", "Underscore inside word unchanged" ); +is( $parser->parse("CONST__VALUE"), + "

CONST__VALUE

\n", "Double underscores inside word unchanged" );