]> granicus.if.org Git - php/commitdiff
fixed libxml tests
authorChristian Stocker <chregu@php.net>
Wed, 31 Aug 2011 08:58:12 +0000 (08:58 +0000)
committerChristian Stocker <chregu@php.net>
Wed, 31 Aug 2011 08:58:12 +0000 (08:58 +0000)
ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt

index 6310bb44c3281c829a05aeb1817e123dda68571e..c9c45940b9e9ab7a3f88d99dc6491b75b0420318 100644 (file)
@@ -48,7 +48,7 @@ string(10) "-//FOO/BAR"
 string(25) "http://example.com/foobar"
 array(4) {
   ["directory"]=>
-  string(36) "%s"
+  string(%d) "%s"
   ["intSubName"]=>
   string(3) "foo"
   ["extSubURI"]=>
@@ -60,7 +60,7 @@ string(13) "-//FOO/ENTITY"
 string(32) "http://example.com/fooentity.ent"
 array(4) {
   ["directory"]=>
-  string(36) "%s"
+  string(%d) "%s"
   ["intSubName"]=>
   string(3) "foo"
   ["extSubURI"]=>
index d0fd066f390d1c14a0c490a2c98cd5f87280366e..b6251bea6d07943c0952bd74e0119fe4103d632b 100644 (file)
@@ -37,7 +37,7 @@ echo "Done.\n";
 
 --EXPECTF--
 string(10) "-//FOO/BAR"
-string(46) "%sfoobar.dtd"
+string(%d) "%sfoobar.dtd"
 
 Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
 bool(false)