]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Tue, 12 Sep 2006 10:44:18 +0000 (10:44 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 12 Sep 2006 10:44:18 +0000 (10:44 +0000)
ext/reflection/tests/bug29986.phpt

index 7954942a39477d45b56cd98a4890f65cac8bcd1a..97f208334857b9176a4094cfca20ba51f6e0fd8e 100644 (file)
@@ -17,14 +17,14 @@ Reflection::export(new ReflectionClass('just_constants'));
 ?>
 --EXPECTF--
 Class [ <user> class just_constants ] {
-  @@ %s
+  @@ %s %d-%d
 
   - Constants [5] {
-    Constant [ boolean BOOLEAN_CONSTANT ] { }
-    Constant [ null NULL_CONSTANT ] { }
-    Constant [ string STRING_CONSTANT ] { }
-    Constant [ integer INTEGER_CONSTANT ] { }
-    Constant [ double FLOAT_CONSTANT ] { }
+    Constant [ boolean BOOLEAN_CONSTANT ] { }
+    Constant [ null NULL_CONSTANT ] {  }
+    Constant [ string STRING_CONSTANT ] { This is a string }
+    Constant [ integer INTEGER_CONSTANT ] { 1000 }
+    Constant [ double FLOAT_CONSTANT ] { 3.14159265 }
   }
 
   - Static properties [0] {
@@ -41,14 +41,14 @@ Class [ <user> class just_constants ] {
 }
 --UEXPECTF--
 Class [ <user> class just_constants ] {
-  @@ %s
+  @@ %s %d-%d
 
   - Constants [5] {
-    Constant [ boolean BOOLEAN_CONSTANT ] { }
-    Constant [ null NULL_CONSTANT ] { }
-    Constant [ Unicode string STRING_CONSTANT ] { }
-    Constant [ integer INTEGER_CONSTANT ] { }
-    Constant [ double FLOAT_CONSTANT ] { }
+    Constant [ boolean BOOLEAN_CONSTANT ] { }
+    Constant [ null NULL_CONSTANT ] {  }
+    Constant [ Unicode string STRING_CONSTANT ] { This is a string }
+    Constant [ integer INTEGER_CONSTANT ] { 1000 }
+    Constant [ double FLOAT_CONSTANT ] { 3.14159265 }
   }
 
   - Static properties [0] {
@@ -63,4 +63,3 @@ Class [ <user> class just_constants ] {
   - Methods [0] {
   }
 }
-