From: Gabriel Caruso Date: Sat, 30 May 2020 21:21:39 +0000 (+0200) Subject: Fix tests' description for `ReflectionClass::getConstant` X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84492f5b50e9c0075e7a9d10a4de38f0674a0197;p=php Fix tests' description for `ReflectionClass::getConstant` --- diff --git a/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt b/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt index b8906b2070..67d1eee7e8 100644 --- a/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt +++ b/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -ReflectionClass::getConstants() +ReflectionClass::getConstant() --FILE-- getConstant('a')); var_dump($rc->getConstant('doesnotexist')); } ?> --EXPECT-- -Reflecting on class C: +Reflecting on class C: string(12) "hello from C" bool(false) -Reflecting on class D: +Reflecting on class D: string(12) "hello from C" bool(false) -Reflecting on class E: +Reflecting on class E: string(12) "hello from C" bool(false) -Reflecting on class F: +Reflecting on class F: string(12) "hello from F" bool(false) -Reflecting on class X: +Reflecting on class X: bool(false) bool(false)