complete re-organization of the test suite
[gitmo/Moose.git] / t / 100_bugs / 008_new_w_undef.t
CommitLineData
86629f93 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5use Moose;
6
7use Test::More tests => 1;
8use Test::Exception;
9
10{
11 package Foo;
12 use Moose;
13 has 'foo' => ( is => 'ro' );
14}
15
16lives_ok {
17 Foo->new(undef);
18} '... passing in undef just gets ignored';
19
20
21
22