Remove PHP-specific testcase workarounds

The changes on this branch mean these are no longer required.
This commit is contained in:
Olly Betts 2021-04-19 18:50:49 +12:00
commit 1bf23edc06
4 changed files with 3 additions and 19 deletions

View file

@ -81,11 +81,7 @@ function mycheck($person, $expected) {
$ret = $baseclass->id();
if ($debug)
print $ret . "\n";
# TODO: Currently we do not track the dynamic type of returned
# objects, so in case it's possible that the dynamic type is not equal
# to the static type, we skip this check.
if (get_parent_class($person) === false)
check::equal($ret, $expected, "#3 failed");
check::equal($ret, $expected, "#3 failed");
$caller->resetCallback();
if ($debug)