FAILED
Test file Test results Time %
t/web/template/02-insert.t
  • Parse error: Bad plan. You planned 6 tests but ran 4.
  • 1..6
  • Generated code:
  • $!out ~= "foo";
  • =;
  • $!out ~= "bar";
  • One line:
  • "\$!out ~= \"foo\";\n=;\n\$!out ~= \"bar\";\n"
  • ok 1 - Insert nothing
  • Generated code:
  • $!out ~= "foo";
  • One line:
  • "\$!out ~= \"foo\";\n"
  • ok 2 - Insert p6 str
  • Generated code:
  • $!out ~= 1 + 2 + 3;
  • One line:
  • "\$!out ~= 1 + 2 + 3;\n"
  • ok 3 - Insert p6 expression result
  • Generated code:
  • $!out ~= "foo";
  • $!out ~= "bar";
  • $!out ~= "baz";
  • One line:
  • "\$!out ~= \"foo\";\n\$!out ~= \"bar\";\n\$!out ~= \"baz\";\n"
  • ok 4 - Simple insert in text
  • Type mismatch in assignment to Hash.
  • in method Web::Template::render (lib/Web/Template.pm:19)
  • called from Main (t/web/template/02-insert.t:16)
5.12s 66.7%
t/web/template/03-code.t
  • Parse error: Bad plan. You planned 3 tests but ran 2.
  • 1..3
  • Generated code:
  • my $foo = "Y";
  • $!out ~= "foo";
  • $!out ~= $foo;
  • $!out ~= "baz";
  • One line:
  • "my \$foo = \"Y\";\n\$!out ~= \"foo\";\n\$!out ~= \$foo;\n\$!out ~= \"baz\";\n"
  • ok 1 - Perl6 code <% ... %>, result of expression insert <%= ... %>
  • Generated code:
  • for 1..3 {
  • $!out ~= "?";
  • }
  • One line:
  • "for 1..3 \{ \n\$!out ~= \"?\";\n} \n"
  • ok 2 - Simple for
  • Type mismatch in assignment to Hash.
  • in method Web::Template::render (lib/Web/Template.pm:19)
  • called from Main (t/web/template/03-code.t:16)
4.23s 66.7%
t/web/template/01-basics.t
  • 1..6
  • ok 1 - We use Web::Template and still be alive
  • not ok 2 - Web::Template isa Web::Template
  • Generated code:
  • One line:
  • ""
  • ok 3 - Empty in, empty out
  • Generated code:
  • $!out ~= "Some text.";
  • One line:
  • "\$!out ~= \"Some text.\";\n"
  • ok 4 - Some text in, some text out
  • ok 5 - Die on malformed directive (nothing)
  • ok 6 - Die on malformed directive (only space)
  • # Looks like you failed 1 tests of 6
5.25s 83.3%
t/01-basics.t
 
  • Parse error: No plan found in TAP output
  • Unknown import list expression in use at line 7, near ";\nplan 2;\n"
  • in Main (src/gen_setting.pm:408)
1.80s n/a
4 files 12 tests, 11 ok, 1 failed, 0 todo, 0 skipped, 3 parse errors
exit status: 0, wait status: 0
elapsed time: 17 wallclock secs ( 0.05 usr 0.00 sys + 12.23 cusr 0.51 csys = 12.79 CPU)
16.39s 91.7%