Immutable tests for 001_basic_class_setup abandoned/test_refactor
Shawn M Moore [Thu, 2 Oct 2008 04:16:47 +0000 (04:16 +0000)]
t/010_basics/001_basic_class_setup--immutable.t [new file with mode: 0644]

diff --git a/t/010_basics/001_basic_class_setup--immutable.t b/t/010_basics/001_basic_class_setup--immutable.t
new file mode 100644 (file)
index 0000000..c4642c7
--- /dev/null
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+use Test::More tests => 22;
+use Moose::Test::Case;
+
+Moose::Test::Case->new->run_tests(
+    after_last_pm => sub {
+        Foo->meta->make_immutable;
+    },
+);
+