Skip to content

Commit 84492f5

Browse files
committed
Fix tests' description for ReflectionClass::getConstant
1 parent 7d6a0ba commit 84492f5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext/reflection/tests/ReflectionClass_getConstant_basic.phpt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
ReflectionClass::getConstants()
2+
ReflectionClass::getConstant()
33
--FILE--
44
<?php
55
class C {
@@ -17,25 +17,25 @@ class X {
1717

1818
$classes = array("C", "D", "E", "F", "X");
1919
foreach($classes as $class) {
20-
echo "Reflecting on class $class: \n";
20+
echo "Reflecting on class $class:\n";
2121
$rc = new ReflectionClass($class);
2222
var_dump($rc->getConstant('a'));
2323
var_dump($rc->getConstant('doesnotexist'));
2424
}
2525
?>
2626
--EXPECT--
27-
Reflecting on class C:
27+
Reflecting on class C:
2828
string(12) "hello from C"
2929
bool(false)
30-
Reflecting on class D:
30+
Reflecting on class D:
3131
string(12) "hello from C"
3232
bool(false)
33-
Reflecting on class E:
33+
Reflecting on class E:
3434
string(12) "hello from C"
3535
bool(false)
36-
Reflecting on class F:
36+
Reflecting on class F:
3737
string(12) "hello from F"
3838
bool(false)
39-
Reflecting on class X:
39+
Reflecting on class X:
4040
bool(false)
4141
bool(false)

0 commit comments

Comments
 (0)