Help language development. Donate to The Perl Foundation

URI::Template zef:jonathanstowe last updated on 2022-08-07

t/060-synopsis.t
#!/usr/bin/env raku

use v6;

use Test;

use URI::Template;

my $template = URI::Template.new(template => 'http://foo.com{/foo,bar}');

is $template.process(foo => 'baz', bar => 'quux'), 'http://foo.com/baz/quux', "check the synopsis code is actually correct";


done-testing;
# vim: expandtab shiftwidth=4 ft=raku