tony2001                Tue Sep 12 10:44:18 2006 UTC

  Modified files:              
    /php-src/ext/reflection/tests       bug29986.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/tests/bug29986.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/reflection/tests/bug29986.phpt
diff -u php-src/ext/reflection/tests/bug29986.phpt:1.4 
php-src/ext/reflection/tests/bug29986.phpt:1.5
--- php-src/ext/reflection/tests/bug29986.phpt:1.4      Sat Apr 22 23:50:29 2006
+++ php-src/ext/reflection/tests/bug29986.phpt  Tue Sep 12 10:44:18 2006
@@ -17,14 +17,14 @@
 ?>
 --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 ] { 1 }
+    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 @@
 }
 --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 ] { 1 }
+    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 @@
   - Methods [0] {
   }
 }
-

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to