Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git] / t / 300_immutable / 003_immutable_meta_class.t
CommitLineData
16504b15 1#!/usr/bin/perl
2# This is automatically generated by author/import-moose-test.pl.
3# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4use t::lib::MooseCompat;
5
6use strict;
7use warnings;
8
9use Test::More;
10use Test::Exception;
11
12
13{
14 package My::Meta;
15
16 use Mouse;
17
18 extends 'Mouse::Meta::Class';
19
20 has 'meta_size' => (
21 is => 'rw',
22 isa => 'Int',
23 );
24}
25
26lives_ok {
27 My::Meta->meta()->make_immutable(debug => 0)
28} '... can make a meta class immutable';
29
30done_testing;