Skip to content

Commit 4935e10

Browse files
committed
Fix hardcoded paths in test
1 parent b30448f commit 4935e10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/zend_test/tests/gh9871.phpt

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ $property = new MyReflectionProperty('A', 'protected');
2121
$property->setAccessible(true);
2222

2323
?>
24-
--EXPECT--
25-
<!-- init '/Users/bob.weinand/php-src/ext/zend_test/tests/gh9871.php' -->
26-
<file '/Users/bob.weinand/php-src/ext/zend_test/tests/gh9871.php'>
24+
--EXPECTF--
25+
<!-- init '%s' -->
26+
<file '%s'>
2727
<!-- init ReflectionProperty::__construct() -->
2828
<ReflectionProperty::__construct>
2929
</ReflectionProperty::__construct:NULL>
3030
<!-- init ReflectionProperty::setAccessible() -->
3131
<ReflectionProperty::setAccessible>
3232
</ReflectionProperty::setAccessible:NULL>
33-
</file '/Users/bob.weinand/php-src/ext/zend_test/tests/gh9871.php'>
33+
</file '%s'>

0 commit comments

Comments
 (0)