Skip to content

Commit

Permalink
tests were fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zenovich committed Feb 25, 2012
1 parent cb8d02b commit 1c4babb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/namespaces.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ Mocked
New mocked
New

Fatal error: Call to undefined method Test\Foo::n() in /home/dzenovich/runkit-my/tests/namespaces.php on line %d
Fatal error: Call to undefined method Test\Foo::n() in %s on line %d
2 changes: 1 addition & 1 deletion tests/runkit_default_property_add.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RunkitClass Object

)

Warning: runkit_default_property_add(): Adding properties to internal classes is not allowed in /home/dzenovich/runkit-my/tests/runkit_default_property_add.php on line %d
Warning: runkit_default_property_add(): Adding properties to internal classes is not allowed in %s on line %d
stdClass Object
(
)
2 changes: 1 addition & 1 deletion tests/runkit_default_property_add4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runkitclass Object

)

Warning: runkit_default_property_add(): Adding properties to internal classes is not allowed in /home/dzenovich/runkit-my/tests/runkit_default_property_add4.php on line %d
Warning: runkit_default_property_add(): Adding properties to internal classes is not allowed in %s on line %d
stdClass Object
(
)
4 changes: 2 additions & 2 deletions tests/runkit_default_property_remove.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ $obj = new stdClass();
runkit_default_property_remove('stdClass', 'str');
?>
--EXPECTF--
Warning: runkit_default_property_remove(): RunkitClass::publicproperty does not exist in /home/dzenovich/runkit-my/tests/runkit_default_property_remove.php on line %d
Warning: runkit_default_property_remove(): RunkitClass::publicproperty does not exist in %s on line %d
RunkitClass Object
(
[publicProperty] => 1
)

Warning: runkit_default_property_remove(): Removing properties from internal classes is not allowed in /home/dzenovich/runkit-my/tests/runkit_default_property_remove.php on line %d
Warning: runkit_default_property_remove(): Removing properties from internal classes is not allowed in %s on line %d
4 changes: 2 additions & 2 deletions tests/runkit_default_property_remove4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ $obj = new stdClass();
runkit_default_property_remove('stdClass', 'str');
?>
--EXPECTF--
Warning: runkit_default_property_remove(): RunkitClass::publicproperty does not exist in /home/dzenovich/runkit-my/tests/runkit_default_property_remove4.php on line %d
Warning: runkit_default_property_remove(): RunkitClass::publicproperty does not exist in %s on line %d
runkitclass Object
(
[publicProperty] => 1
)

Warning: runkit_default_property_remove(): Removing properties from internal classes is not allowed in /home/dzenovich/runkit-my/tests/runkit_default_property_remove4.php on line %d
Warning: runkit_default_property_remove(): Removing properties from internal classes is not allowed in %s on line %d
2 changes: 1 addition & 1 deletion tests/runkit_import_with_syntax_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ runkit_import(dirname(__FILE__) . '/runkit_import_with_syntax_error.inc');
echo "After syntax error";
?>
--EXPECTF--
Parse error: syntax error, unexpected ')' in /home/dzenovich/runkit-my/tests/runkit_import_with_syntax_error.inc on line 2
Parse error: syntax error, unexpected ')' in %s on line 2

0 comments on commit 1c4babb

Please sign in to comment.