Diff of /branches/0.71/t/02-payload.t [r410] .. [r411]  Maximize  Restore

Switch to side-by-side view

--- a/branches/0.71/t/02-payload.t
+++ b/branches/0.71/t/02-payload.t
@@ -351,7 +351,9 @@
 
   $a = { b => 2 };
 
-  $serialized = SOAP::Serializer->autotype(0)->method(a => SOAP::Header->value($a), $a);
+  print $serialized = SOAP::Serializer->autotype(0)->method(a => SOAP::Header->value($a), $a);
+  print "\n";
+  print '<soap:Header><c-gensym\d+ href="#ref-(\d+)" /></soap:Header><soap:Body><a><c-gensym\d+ href="#ref-\1" /></a><c-gensym(\d+) id="ref-\1"><b>2</b></c-gensym\2></soap:Body>', "\n";
   ok($serialized =~ m!<soap:Header><c-gensym\d+ href="#ref-(\d+)" /></soap:Header><soap:Body><a><c-gensym\d+ href="#ref-\1" /></a><c-gensym(\d+) id="ref-\1"><b>2</b></c-gensym\2></soap:Body>!);
 }
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks