correct filename of Moo::Object in test
[gitmo/Moo.git] / t / moo.t
diff --git a/t/moo.t b/t/moo.t
index 4656944..8d6880a 100644 (file)
--- a/t/moo.t
+++ b/t/moo.t
@@ -11,7 +11,7 @@ use Test::More;
 
 BEGIN {
   is(
-    $INC{'Class/Tiny/Object.pm'}, undef,
+    $INC{'Moo/Object.pm'}, undef,
     'Object.pm not loaded if not required'
   );
 }
@@ -49,6 +49,8 @@ is_deeply(
   [ @MyClass3::ISA ], [ 'MyClass2' ], 'extends sets superclass'
 );
 
+{ package WhatTheFlyingFornication; sub wtff {} }
+
 {
   package MyClass4;