Permalink
Browse files

Tests for :exists added.

  • Loading branch information...
colomon committed Jan 10, 2012
1 parent b8ba7e6 commit b44e3ec99f59a1dc093af7581a9bf60924fce331
Showing with 4 additions and 1 deletion.
  1. +4 −1 S32-hash/exists.t
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 19;
+plan 21;
=begin description
@@ -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)";
};
{

0 comments on commit b44e3ec

Please sign in to comment.