Commits

Toby Inkster committed 8447bdc

failing test (Moo added the ability to specify non-reference defaults without the coderef)

  • Participants
  • Parent commits d981bf8

Comments (0)

Files changed (1)

 
 is(Bar->bar, "Elephant");
 
+{
+	package Baz;
+	use Moo;
+	use MooX::ClassAttribute;
+	extends 'Bar';
+	class_has baz => ( is => 'rw', default => "Monkey" );
+}
+
+is(Baz->baz, "Monkey");
+
 diag "*** The Moose awakes!!" if $INC{'Moose.pm'};
 done_testing;