use strict; use warnings; use utf8; use Test::More; use_ok('HTML::Gumbo'); my $parser = HTML::Gumbo->new; my $input = <<'END';

hello world!

first para

second

©
END my $expected = <<'END';

hello world!

first para

second

©
END my $res = $parser->parse($input); is $res, $expected, 'very basic test'; $input = <<'END';
<p>
END $expected = <<'END';
<p>
END $res = $parser->parse($input); is $res, $expected, 'very basic test'; $input = <<'END';
foo
foo

foo
END $expected = <<'END';
foo
foo

foo
END $res = $parser->parse($input); is $res, $expected, 'very basic test'; done_testing();