This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Peek.t: Fix a test
[perl5.git] / ext / Devel-Peek / t / Peek.t
index 088f505..e1761c7 100644 (file)
@@ -1095,10 +1095,11 @@ unless ($Config{useithreads}) {
 
     do_test('second string also unaffected', $pie, 'SV = PV\\($ADDR\\) at $ADDR
   REFCNT = 1
-  FLAGS = \\(PADMY,POK,pPOK\\)
+  FLAGS = \\(PADMY,POK,(?:IsCOW,)?pPOK\\)
   PV = $ADDR "good"\\\0
   CUR = 4
-  LEN = \d+
+  LEN = \d+(?:
+  COW_REFCNT = 1)?
 ');
 }