Skip to content

Commit

Permalink
Tests for :exists added.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Jan 10, 2012
1 parent b8ba7e6 commit b44e3ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-hash/exists.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 19;
plan 21;

=begin description
Expand Down Expand Up @@ -35,6 +35,9 @@ sub gen_hash {
#?niecza skip 'Invocant handling is NYI'
is (exists %h1: 'a'), True, "Test existence for single key. (Indirect notation)";
is (%h1.exists('a')), True, "Test existence for single key. (method call)";
#?rakudo 2 skip 'NYI as far as I know'
is (%h1{'a'}:exists), True, "Test existence for single key. (adverb)";
is (%h1<a>:exists), True, "Test existence for single key. (adverb 2)";
};

{
Expand Down

0 comments on commit b44e3ec

Please sign in to comment.