com php-src: Fixed wrong XFAIL test - already fixed: tests/classes/bug63462.phpt
| From: | Bob Weinand | Date: | Sun, 15 Jun 2014 21:52:41 +0000 |
| Subject: | com php-src: Fixed wrong XFAIL test - already fixed: tests/classes/bug63462.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78892@lists.php.net to get a copy of this message | ||
Commit: a84a2d4ace577801d5e069ecd8d914150c6976f1
Author: Bob Weinand <bobwei9@hotmail.com> Sun, 15 Jun 2014 23:51:51 +0200
Parents: d9432d6a509051692654ec5c00d71e5682ebe47e
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a84a2d4ace577801d5e069ecd8d914150c6976f1
Log:
Fixed wrong XFAIL test - already fixed
Changed paths:
M tests/classes/bug63462.phpt
Diff:
diff --git a/tests/classes/bug63462.phpt b/tests/classes/bug63462.phpt
index dc5edbd..f425c15 100644
--- a/tests/classes/bug63462.phpt
+++ b/tests/classes/bug63462.phpt
@@ -2,8 +2,6 @@
Test script to verify that magic methods should be called only once when accessing an unset
property.
--CREDITS--
Marco Pivetta <ocramius@gmail.com>
---XFAIL--
-Bug 63462 is not yet fixed
--FILE--
<?php
class Test {
@@ -20,7 +18,7 @@ class Test {
}
function __get($name) {
- echo '__get ' . $name . "\n";
+ echo '__get ' . $name;
return $this->$name;
}
@@ -54,13 +52,13 @@ $test->privateProperty = 'value';
--EXPECTF--
__get nonExisting
-Notice: Undefined index: nonExisting in %__set__get_006.php on line %d
+Notice: Undefined property: Test::$nonExisting in %sbug63462.php on line %d
__get publicProperty
-Notice: Undefined index: publicProperty in %__set__get_006.php on line %d
+Notice: Undefined property: Test::$publicProperty in %sbug63462.php on line %d
__get protectedProperty
-Notice: Undefined index: protectedProperty in %__set__get_006.php on line %d
+Notice: Undefined property: Test::$protectedProperty in %sbug63462.php on line %d
__get privateProperty
-Notice: Undefined index: privateProperty in %__set__get_006.php on line %d
+Notice: Undefined property: Test::$privateProperty in %sbug63462.php on line %d
__isset nonExisting
__isset publicProperty
__isset protectedProperty