correct captures assignment in quote_sub
[gitmo/Moo.git] / t / undef-bug.t
CommitLineData
0689a5ab 1use Test::More tests => 1;
2
3package Foo;
4use Moo;
5
6has this => (is => 'ro');
7
8package main;
9
10my $foo = Foo->new;
11
12ok not(exists($foo->{this})),
13 "new objects don't have undef attributes";