Fix typo in test description
[gitmo/Moose.git] / t / cmop / load_class_gvstash_detect_bug.t
CommitLineData
38bf2a25 1use strict;
2use warnings;
3
4use FindBin;
5use File::Spec::Functions;
6
7use Test::More;
8use Test::Fatal;
9
10use Class::MOP;
11
12use lib catdir($FindBin::Bin, 'lib');
13
14is( exception {
15 Class::MOP::load_class('TestClassLoaded::Sub');
16}, undef );
17
18TestClassLoaded->can('a_method');
19
20is( exception {
21 Class::MOP::load_class('TestClassLoaded');
22}, undef );
23
24is( exception {
25 TestClassLoaded->a_method;
26}, undef );
27
28done_testing;