Revert autogenerated tests. Tests should not changed radically.
[gitmo/Mouse.git] / t / 050_metaclasses / failing / 021_export_with_prototype.t
CommitLineData
41888e7d 1use lib "t/lib";
2package MyExporter::User;
3use MyExporter;
4
9864f0e4 5use Test::More (tests => 4);
41888e7d 6use Test::Exception;
7
8lives_and {
9 with_prototype {
10 my $caller = caller(0);
9864f0e4 11 is($caller, 'MyExporter', "With_caller prototype code gets called from MyMouseX");
41888e7d 12 };
13} "check function with prototype";
14
15lives_and {
16 as_is_prototype {
17 my $caller = caller(0);
9864f0e4 18 is($caller, 'MyExporter', "As-is prototype code gets called from MyMouseX");
41888e7d 19 };
20} "check function with prototype";