### ----------------------------------------------------
### -- Template::Mustache
### -- Licenses: Artistic-2.0
### -- Authors: Tim Smith, Richard Hainsworth
### -- File: t/04-lambda.t
### ----------------------------------------------------
use Test;
use Template::Mustache;

plan 1;

my $m = Template::Mustache.new: :from<views>;

my $l = 'sub { "world" }';
is $m.render('Hello, {{lambda}}!', { lambda => $l.EVAL }),
    "Hello, world!",
    'Interpolate lambda value';

# vim:set ft=raku:


