Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.301 kB
use v6;
use Test;
plan 3;
#L<S03/"Smart matching"/Cool Hash hash entry existence>
{
my %h = (moep => 'foo', bar => Mu);
ok ('moep' ~~ %h), 'Cool ~~ Hash (+, True)';
ok ('bar' ~~ %h), 'Cool ~~ Hash (+, False)';
ok !('foo' ~~ %h), 'Cool ~~ Hash (-)';
}
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.