Skip to content
Browse files

Fudge for niecza.

  • Loading branch information...
1 parent 4bfbe31 commit ecf161e5773030814657c55c30e09a7c9cc8e6aa @colomon colomon committed Dec 24, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 S32-list/reverse.t
View
5 S32-list/reverse.t
@@ -64,8 +64,10 @@ is(@a, @e, "list was reversed");
{
my @a = "foo";
my @b = @a.reverse;
+ #?niecza skip "Iterable NYI"
isa_ok(@b, Iterable);
my $b = @a.reverse;
+ #?niecza skip "Iterable NYI"
isa_ok($b, Iterable);
is(@b[0], "foo", 'our list is reversed properly');
is($b, "foo", 'in scalar context it is still a list');
@@ -77,8 +79,10 @@ is(@a, @e, "list was reversed");
{
my @a = ("foo", "bar");
my @b = @a.reverse;
+ #?niecza skip "Iterable NYI"
isa_ok(@b, Iterable);
my $b = @a.reverse;
+ #?niecza skip "Iterable NYI"
isa_ok($b, Iterable);
is(@b[0], "bar", 'our array is reversed');
is(@b[1], "foo", 'our array is reversed');
@@ -95,6 +99,7 @@ is(@a, @e, "list was reversed");
# RT #77914
#?rakudo todo "RT 77914"
+#?niecza skip 'Unable to resolve method reverse in class Parcel'
{
is (<a b>, <c d>).reverse.join, 'dcba', '.reverse flattens parcels';
}

0 comments on commit ecf161e

Please sign in to comment.
Something went wrong with that request. Please try again.