use strict;
use warnings;
-use Test::More tests => 32;
+use Test::More;
use Test::Exception;
require Class::MOP;
'an @ISA with members does mean a class is loaded' );
}
+{
+
+ throws_ok {
+ Class::MOP::load_class("MistypedPackageName")
+ } qr/empty/, 'throws for nonexistent package name with something in a sub-namespace';
+
+}
+
+
+done_testing;