### ----------------------------------------------------
### -- P5reset
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use v6.*;
use Test;
use P5reset;

plan 7;

ok defined(::('&reset')),         'is &reset imported?';

our $a = 42;
our @b = 1,2,3;
our %c = a => 42, b => 666;

reset("a");
nok $a, 'was $a reset';
ok  @b, 'was @b not reset';
ok  %c, 'was %c not reset';

reset("a-c");
nok $a, 'was $a still reset';
nok @b, 'was @b reset';
nok %c, 'was %c reset';

# vim: expandtab shiftwidth=4


