2 # This is automatically generated by author/import-moose-test.pl.
3 # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4 use t::lib::MooseCompat;
9 use Test::Builder::Tester;
13 use_ok('Test::Mouse');
28 test_out("ok 1", "not ok 2");
30 my $ret = with_immutable {
31 ok(Foo->meta->is_mutable);
33 test_test('with_immutable failure');
34 ok(!$ret, "one of our tests failed");
36 test_out("ok 1", "ok 2");
37 $ret = with_immutable {
38 ok(Bar->meta->find_method_by_name('new'));
40 test_test('with_immutable success');
41 ok($ret, "all tests succeeded");