Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 258 Bytes
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More tests => 1;
use Text::Haml;
my $haml = Text::Haml->new;
my $output = $haml->render(<<'EOF');
%title
= "MyPage"
\= $title
EOF
is($output, <<'EOF');
<title>
MyPage
= $title
</title>
EOF