Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.431 kB
use v6;
use Test;
plan 4;
isa_ok @*ARGS, Array, '@*ARGS is an Array';
is_deeply @*ARGS, [], 'by default @*ARGS is empty array';
lives_ok { @*ARGS = 1, 2 }, '@*ARGS is writable';
BEGIN { @*INC.push: 't/spec/packages' }
use Test::Util;
is_run 'print @*ARGS.join(q[, ])', :args[1, 2, "foo"],
{
out => '1, 2, foo',
err => '',
status => 0,
}, 'providing command line arguments sets @*ARGS';
done;
Jump to Line
Something went wrong with that request. Please try again.