Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
follow Any.list beeing 1
  • Loading branch information
FROGGS committed Aug 28, 2015
1 parent bb702e3 commit fb33c96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S04-statements/return.t
Expand Up @@ -28,7 +28,7 @@ sub foobar2 { return() if 1; }
is(foobar2(), Nil, '... bare return worked with a statement modifier');

my $should_ret_empty_list1 = sub { return; 1 };
is $should_ret_empty_list1().elems, 0, "our sub returned an empty list (1)";
is $should_ret_empty_list1(), Nil, "sub returned Nil";

sub return_1 { return 1; }
is(return_1(), 1, '... return_1() returned 1 correctly');
Expand Down
2 changes: 1 addition & 1 deletion S32-array/elems.t
Expand Up @@ -23,7 +23,7 @@ plan 11;
#?niecza todo
{
my $a;
is $a.elems, 0, ".elems does works on arbitrary scalars";
is $a.elems, 1, ".elems does works on arbitrary scalars";
}

{
Expand Down
2 changes: 1 addition & 1 deletion S32-array/end.t
Expand Up @@ -22,7 +22,7 @@ plan 12;

{
my $a;
is $a.end, -1, ".end works on arbitrary scalars (1)";
is $a.end, 0, ".end works on arbitrary scalars (1)";
}

{
Expand Down

0 comments on commit fb33c96

Please sign in to comment.