### ----------------------------------------------------
### -- Template::Mojo
### -- Licenses: MIT
### -- Authors: Tadeusz “tadzik” Sośnierz, Andrew Egeler, Anthony Parsons, Carl Mäsak, Gabor Szabo, Moritz Lenz, Sterling Hanenkamp, Timo Paulssen, Tobias Leich
### -- File: t/03-capture.rakutest
### ----------------------------------------------------
use Test;
use Template::Mojo;

my %params;

plan 1;

my $tmpl = slurp "eg/capture.tm";
my $output = Template::Mojo.new($tmpl).render(%params);

diag $output;

my $expected = slurp "eg/capture.out";
is $output, $expected, 'capture';

# vim: expandtab shiftwidth=4


