Fix incorrect handling of exotic fieldnames
[p5sagit/Class-Accessor-Grouped.git] / t / accessors_wo.t
index 68c3eea..39c5d7a 100644 (file)
@@ -1,4 +1,4 @@
-use Test::More tests => 38;
+use Test::More tests => 46;
 use Test::Exception;
 use strict;
 use warnings;
@@ -51,6 +51,10 @@ my $test_accessors = {
   lr2name => {
     custom_field => "lr2'field",
   },
+  fieldname_torture => {
+    custom_field => join ('', map { chr($_) } (1..255) ), # FIXME after RT#80569 is fixed 0..255 should work
+    is_xs => $use_xs,
+  },
 };
 
 for my $name (sort keys %$test_accessors) {