Skip to content

Commit

Permalink
Unfudge tests fixed by .hash decontainerizing
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jul 4, 2014
1 parent f08c5ba commit 51e4682
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion S02-types/bag.t
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ sub showkv($x) {
# {}.hash interpolates in list context
my $b = bag { foo => 10, bar => 17, baz => 42, santa => 0 }.hash;
isa_ok $b, Bag, '&Bag.new given a Hash produces a Bag';
#?rakudo todo "Not properly interpolating"
is +$b, 4, "... with four elements";
#?niecza todo "Non-string bag elements NYI"
#?rakudo todo "Not properly interpolating"
Expand Down
1 change: 0 additions & 1 deletion S02-types/baghash.t
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ sub showkv($x) {
{
my $b = BagHash.new({ foo => 10, bar => 17, baz => 42, santa => 0 }.hash);
isa_ok $b, BagHash, '&BagHash.new given a Hash produces a BagHash';
#?rakudo todo "Needs to catch up with spec"
is +$b, 4, "... with four elements";
#?niecza todo "Non-string bag elements NYI"
#?rakudo todo "Needs to catch up with spec"
Expand Down
3 changes: 0 additions & 3 deletions S02-types/flattening.t
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ plan 41;
is_deeply +@a-a, 3, '@ sigil flattening of itemized array';
is_deeply +@h-a, 3, '% sigil flattening of itemized array';
is_deeply +@a-h, 3, '@ sigil flattening of itemized hash';
#?rakudo.moar todo "RT 122223"
#?rakudo.jvm todo "RT 122223"
#?rakudo.parrot todo "RT 122223"
is_deeply +@h-h, 3, '% sigil flattening of itemized hash';
}

Expand Down
1 change: 0 additions & 1 deletion S02-types/mix.t
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ sub showkv($x) {
# {}.hash interpolates in list context
my $m = mix { foo => 10, bar => 17, baz => 42, santa => 0 }.hash;
isa_ok $m, Mix, '&Mix.new given a Hash produces a Mix';
#?rakudo todo "Not properly interpolating"
is +$m, 4, "... with four elements";
#?niecza todo "Non-string mix elements NYI"
#?rakudo todo "Not properly interpolating"
Expand Down
1 change: 0 additions & 1 deletion S02-types/mixhash.t
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ sub showkv($x) {
{
my $m = MixHash.new({ foo => 10, bar => 17, baz => 42, santa => 0 }.hash);
isa_ok $m, MixHash, '&MixHash.new given a Hash produces a MixHash';
#?rakudo todo "Needs to catch up with spec"
is +$m, 4, "... with four elements";
#?niecza todo "Non-string mix elements NYI"
#?rakudo todo "Needs to catch up with spec"
Expand Down
1 change: 0 additions & 1 deletion S02-types/set.t
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ sub showset($s) { $s.keys.sort.join(' ') }
# {}.hash interpolates in list context
my $b = set { foo => 10, bar => 17, baz => 42 }.hash;
isa_ok $b, Set, '&Set.new given a Hash produces a Set';
#?rakudo todo "Not properly interpolating"
is +$b, 3, "... with three elements";
#?rakudo todo "Not properly interpolating"
#?niecza todo "Losing type in Set"
Expand Down
1 change: 0 additions & 1 deletion S02-types/sethash.t
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ sub showset($s) { $s.keys.sort.join(' ') }
{
my $b = SetHash.new({ foo => 10, bar => 17, baz => 42 }.hash);
isa_ok $b, SetHash, 'SetHash.new given a Hash produces a SetHash';
#?rakudo todo "Not up to current spec"
is +$b, 3, '... with three elements';
#?niecza todo "Non-string keys NYI"
#?rakudo todo "Not up to current spec"
Expand Down

0 comments on commit 51e4682

Please sign in to comment.