]> granicus.if.org Git - php/commitdiff
- Fixed test
authorFelipe Pena <felipe@php.net>
Thu, 9 Sep 2010 21:46:29 +0000 (21:46 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 9 Sep 2010 21:46:29 +0000 (21:46 +0000)
ext/reflection/tests/ReflectionClass_isIterateable_001.phpt

index 3ece91542707481fe90e4315101b177d6369afd2..4936413ef6ec847e57a7a61e07f10e6deaf96de3 100644 (file)
@@ -62,13 +62,27 @@ Is ExtendsIteratorAggregateImpl iterable? bool(true)
 Is A iterable? bool(false)
 
 Test invalid params:
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 34
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 2 given in %s on line 35
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 36
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 37
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 38
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 39
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1 given in %s on line 40
+NULL
 
 Test static invocation: