EXPECTF logic in run-tests.php is considerable, so let's avoid it.
This starts to look like array_values(), except that you can reindex the arrays using the third parameter.