oops. we want to use 'metaclass' in role, too :(
[gitmo/Mouse.git] / t / 043-parameterized-type.t
CommitLineData
5fa003bf 1#!/usr/bin/env perl
2use strict;
3use warnings;
4use Test::More tests => 1;
5use Test::Exception;
6
7TODO: {
8 local $TODO = "Mouse does not support parameterized types yet";
9
10 eval {
11 package Foo;
12 use Mouse;
13
14 has foo => (
15 is => 'ro',
16 isa => 'HashRef[Int]',
17 );
18 };
19
20 ok(Foo->meta->has_attribute('foo'));
21};
22