#!/usr/bin/perl
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
use strict;
use warnings;
extends 'Foo';
- ::throws_ok { has '+foo' => (is => 'rw') } qr/illegal/, "can't override is";
+ ::lives_ok { has '+foo' => (is => 'rw') } "can override is";
::throws_ok { has '+foo' => (reader => 'bar') } qr/illegal/, "can't override reader";
::lives_ok { has '+foo' => (clearer => 'baz') } "can override unspecified things";