Skip to content

Commit

Permalink
correct or remove tests that assume you can compare type objects with…
Browse files Browse the repository at this point in the history
… ===
  • Loading branch information
moritz committed Oct 2, 2011
1 parent 9e5e20c commit ac7ea9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S12-class/inheritance.t
Expand Up @@ -124,7 +124,7 @@ eval_lives_ok 'class NotAny is Mu { }; NotAny.new', 'inheritance from Mu works';
{
class DirectMu is Mu { };
ok DirectMu !~~ Any, 'class inheriting from Mu is not Any';
ok !( any(DirectMu.^parents) === Any), 'and Any does not appear in the list of parents either';
ok !( any(DirectMu.^parents).gist eq 'Any()'), 'and Any does not appear in the list of parents either';
}

eval_dies_ok 'class RT64642 is ::Nowhere {}', 'dies: class D is ::C {}';
Expand Down
3 changes: 1 addition & 2 deletions S32-scalar/undef.t
Expand Up @@ -23,13 +23,12 @@ perl6-specific tests.
#
# Larry

plan 87;
plan 86;

our $GLOBAL;

# L<S32::Basics/Mu/=item defined>

ok(Mu === Mu, "Mu is equal to Mu");
ok(!defined(Mu), "Mu is not defined");

{
Expand Down

0 comments on commit ac7ea9d

Please sign in to comment.