Bytecode patching from Enache.
[p5sagit/p5-mst-13.2.git] / ext / B / t / assembler.t
index 6640082..5e83f86 100644 (file)
@@ -247,7 +247,7 @@ NV          => [ 1.23456789E3 ],
 U16         => [ 0xffff, 0 ],
 pvcontents  => [],
 strconst    => [ '""', '"another string"' ], # no NUL
-op_tr_array => [ join( ',', 0..255 ) ],
+op_tr_array => [ join( ',', 256, 0..255 ) ],
              );
 
 # Erronous operand values
@@ -269,7 +269,7 @@ IV          => $Config{ivsize} == 4 ?
 NV          => undef, # PUT_NV accepts anything - it shouldn't, real-ly
 pvcontents  => [ '"spurious arg"' ],
 strconst    => [  'no quote"',  '"with NUL '."\0".' char"' ], # no NUL
-op_tr_array => [ join( ',', 1..42 ) ],
+op_tr_array => undef, # op_pv_tr is no longer exactly 256 shorts
              );