7 eval "use Test::Output;";
8 plan skip_all => "Test::Output is required for this test" if $@;
13 sub { package main; eval 'use Mouse' },
14 "Mouse does not export its sugar to the 'main' package.\n",
15 'Mouse warns when loaded from the main package',
19 sub { package main; eval 'use Mouse::Role' },
20 "Mouse::Role does not export its sugar to the 'main' package.\n",
21 'Mouse::Role warns when loaded from the main package',