Skip to content

Commit

Permalink
- Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Nov 19, 2011
1 parent 31ef559 commit b3b3eb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Zend/tests/inter_007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ interface a extends d, w { }

?>
--EXPECTF--
Fatal error: Can't inherit abstract function c::B() (previously declared abstract in d) in %s on line %d
Fatal error: Cannot make non static method c::B() static in class d in %s on line %d
4 changes: 3 additions & 1 deletion Zend/tests/inter_04.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ interface b {
interface c extends a, b {
}

echo "done!\n";

?>
--EXPECTF--
Fatal error: Can't inherit abstract function b::b() (previously declared abstract in a) in %s on line %d
done!
4 changes: 3 additions & 1 deletion Zend/tests/objects_018.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ interface Itest2 {
interface Itest3 extends Itest, Itest2 {
}

echo "done!\n";

?>
--EXPECTF--
Fatal error: Can't inherit abstract function Itest2::a() (previously declared abstract in Itest) in %s on line %d
done!

0 comments on commit b3b3eb8

Please sign in to comment.