X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F006-unimport.t;h=a3c74db2258dc9bc9640525bde253eb8d354b8d4;hp=57b0a6265be8a4e88a45ae64f3d5aee149abb7e3;hb=3a63a2e7ef8fbac5f61eab04baecbf5d19374b83;hpb=df5525b435545379a78a35c54e73cd68602f80ed diff --git a/t/006-unimport.t b/t/006-unimport.t index 57b0a62..a3c74db 100644 --- a/t/006-unimport.t +++ b/t/006-unimport.t @@ -29,6 +29,7 @@ do { }; ok(!Foo->can('has'), "has keyword is unimported"); + ok(Foo->can('extends'), "extends method is NOT unimported"); -is(Foo->extends, "good", "extends method is ours, not the extends keyword"); +is(eval { Foo->extends }, "good", "extends method is ours, not the extends keyword");