Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT#118717 which can probably be closed
  • Loading branch information
skids committed Aug 8, 2015
1 parent f8b1530 commit b630ee3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S02-types/nil.t
Expand Up @@ -3,7 +3,7 @@ use Test;

# Nil may be a type now. Required?

plan 51;
plan 52;

sub empty_sub {}
sub empty_do { do {} }
Expand Down Expand Up @@ -48,6 +48,9 @@ ok Nil.JustAnyMethod == Nil, 'Any method on Nil should return Nil';
is $x, 1, '$Statement for Nil; does one iteration';
}

# RT #118717
ok Nil.^mro.gist !~~ rx:i/iter/, "Nil is not any sort of Iter*";

# RT 93980
ok (my $rt93980 = Nil) === Any, 'Nil assigned to scalar produces an Any'; #OK

Expand Down

0 comments on commit b630ee3

Please sign in to comment.