use Test::More tests => 4;
-use Scope::Upper qw/unwind/;
+use Scope::Upper qw<unwind>;
my @res;
unwind 0;
8;
});
-like $@, qr/^Can't\s+return\s+outside\s+a\s+subroutine/, 'unwind(100) croaks';
-is_deeply \@res, [ 7 ], 'unwind(100)';
+like $@, qr/^Can't\s+return\s+outside\s+a\s+subroutine/, 'unwind(0) croaks';
+is_deeply \@res, [ 7 ], 'unwind(0)';