Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6f23e226fe
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.501 kb
use v6;
BEGIN { @*INC.unshift: './lib'; }
use Test;
use Template6;
plan 1;
my $t6 =;
$t6.add-path: 't/templates';
my $wanted = "<html>
<title>If Test</title>
<p>This is true</p>
<p>As is this</p>
<p>And the string matches</p>
<p>The else worked properly</p>
<p>Elseif worked</p>
<p>Unless works</p>
is $t6.process(
:astring("A string"),
),$wanted, 'If statement.';
Jump to Line
Something went wrong with that request. Please try again.