-use Test::More tests => 46;
+use Test::More;
use Test::Exception;
use strict;
use warnings;
+no warnings 'once';
use Config;
use lib 't/lib';
custom_field => "lr2'field",
},
fieldname_torture => {
- custom_field => join ('', map { chr($_) } (1..255) ), # FIXME after RT#80569 is fixed 0..255 should work
+ custom_field => join ('', map { chr($_) } (0..255) ),
is_xs => $use_xs,
},
};
my $wo_regex = $test_accessors->{$name}{is_xs}
? qr/Usage\:.+$name.*\(self, newvalue\)/
- : qr/cannot access the value of '\Q$field\E'/
+ : qr/$name(:?_accessor)?\Q' cannot access its value (write-only attribute of class AccessorGroupsWO)/
;
# die on get via name/alias
}
};
-# important
-1;
\ No newline at end of file
+done_testing unless $::SUBTESTING;