Fix incorrect handling of exotic fieldnames
[p5sagit/Class-Accessor-Grouped.git] / t / accessors.t
index a7f7b00..a525715 100644 (file)
@@ -1,4 +1,4 @@
-use Test::More tests => 117;
+use Test::More tests => 137;
 use strict;
 use warnings;
 use lib 't/lib';
@@ -61,6 +61,10 @@ my $test_accessors = {
   lr2name => {
     custom_field => "lr2'field",
   },
+  fieldname_torture => {
+    custom_field => join ('', map { chr($_) } (0..255) ),
+    is_xs => $use_xs,
+  },
 };
 
 for my $name (sort keys %$test_accessors) {