Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test for BagHash<foo>-- : changed behaviour
  • Loading branch information
lizmat committed May 15, 2014
1 parent 7ed2ee5 commit 98d45b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S02-types/baghash.t
Expand Up @@ -66,8 +66,8 @@ sub showkv($x) {
lives_ok { $b<carter>-- }, "Can -- an element with value 1";
nok $b<carter>:exists, "... and it goes away";
#?niecza todo
dies_ok { $b<farve>-- }, "Cannot -- an element that doesn't exist";
nok $b<farve>:exists, "... and everything is still okay";
is $b<farve>--, 0, "Can -- an element that doesn't exist";
nok $b<farve>:exists, "... but it doesn't create it";
}

{
Expand Down

0 comments on commit 98d45b8

Please sign in to comment.