Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S03-operators/subscript-adverbs] remove a couple fudges for moritz
  • Loading branch information
sorear committed Oct 28, 2011
1 parent 918275a commit 891aa14
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions S03-operators/subscript-adverbs.t
Expand Up @@ -20,10 +20,8 @@ plan 64;
is @array[0], "a",
":p on an array returns lvalues (like normal subscripts do as well)";

#?niecza skip 'Cannot use value like Pair as a number'
is +(@array[0,1]:p), 2,
":p on an array returned a two-elem array";
#?niecza todo
is ~(@array[0,1]:p), "0\ta 1\tB",
":p on an array returned a two-elem array consisting of the correct pairs";

Expand All @@ -49,7 +47,6 @@ plan 64;
#?niecza todo
is +(@array[0,1]:kv), 4,
":kv on an array returned a four-elem array";
#?niecza todo
is ~(@array[0,1]:kv), "0 a 1 B",
":kv on an array returned the correct four-elem array";

Expand Down Expand Up @@ -124,10 +121,8 @@ plan 64;
is %hash<0>, "a",
":p on a hash returns lvalues (like normal subscripts do as well)";

#?niecza skip 'Cannot use value like Pair as a number'
is +(%hash<0 1>:p), 2,
":p on a hash returned a two-elem array";
#?niecza todo
is ~(%hash<0 1>:p), "0\ta 1\tB",
":p on a hash returned a two-elem array consisting of the correct pairs";

Expand All @@ -153,7 +148,6 @@ plan 64;
#?niecza todo
is +(%hash<0 1>:kv), 4,
":kv on a hash returned a four-elem array";
#?niecza todo
is ~(%hash<0 1>:kv), "0 a 1 B",
":kv on a hash returned the correct four-elem array";

Expand Down Expand Up @@ -222,7 +216,6 @@ plan 64;
#?niecza todo
is +(@array[0,1,2]:kv), 6,
"undefined but existing entries should not be weeded out (1)";
#?niecza todo
is ~(@array[0,1,2]:kv), "0 42 1 2 23",
"undefined but existing entries should not be weeded out (2)";
}
Expand All @@ -233,7 +226,6 @@ plan 64;
#?niecza todo
is +(%hash<0 1 2>:kv), 6,
"undefined but existing entries should not be weeded out (3)";
#?niecza todo
is ~(%hash<0 1 2>:kv), "0 42 1 2 23",
"undefined but existing entries should not be weeded out (4)";
}
Expand Down

0 comments on commit 891aa14

Please sign in to comment.