6 use Test::Builder::Tester;
23 test_out("ok 1", "not ok 2");
25 my $ret = with_immutable {
26 ok(Foo->meta->is_mutable);
28 test_test('with_immutable failure');
29 ok(!$ret, "one of our tests failed");
31 test_out("ok 1", "ok 2");
32 $ret = with_immutable {
33 ok(Bar->meta->find_method_by_name('new'));
35 test_test('with_immutable success');
36 ok($ret, "all tests succeeded");