Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pugs fudge
  • Loading branch information
coke committed Oct 10, 2013
1 parent e195879 commit b353ee1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions S03-binding/arrays.t
Expand Up @@ -29,6 +29,7 @@ plan 47;
}

#?niecza skip ":delete"
#?pugs skip ':delete'
{
my @array = <a b c>;
my $var = "d";
Expand Down
1 change: 1 addition & 0 deletions S03-binding/hashes.t
Expand Up @@ -27,6 +27,7 @@ plan 39;
is $var, "f", "basic binding of a hash element (3)";
}

#?pugs skip ':delete'
{
my %hash = (:a<x>, :b<y>, :c<z>);
my $var = "d";
Expand Down
1 change: 1 addition & 0 deletions S09-autovivification/autovivification.t
Expand Up @@ -6,6 +6,7 @@ use Test;
plan 42;

#?niecza todo
#?pugs skip '!exists'
{
my %hash;
%hash<a>;
Expand Down
3 changes: 3 additions & 0 deletions S32-scalar/undef.t
Expand Up @@ -82,7 +82,9 @@ ok(!defined(Mu), "Mu is not defined");
ok(!defined(%hash<bar>), "undefine hash subscript");

%hash<bar> = "baz";
#?pugs emit #
%hash<bar>:delete;
#?pugs 3 skip ':delete'
ok(!defined(%hash<bar>), "delete hash subscript");

ok(defined(@ary), "aggregate array defined");
Expand Down Expand Up @@ -214,6 +216,7 @@ Perl6-specific tests
nok(defined($a_hash<blergh>), "my Hash subscript - Mu, no autovivification happened");

$a_hash<blergh> = 1;
#?pugs 2 skip ':delete'
ok(defined($a_hash<blergh>:delete), "delete");
nok(defined($a_hash<blergh>:delete), " - once only");
}
Expand Down

0 comments on commit b353ee1

Please sign in to comment.