1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

add code for faster debugging next time

This commit is contained in:
kkmuffme 2022-09-22 00:41:06 +02:00
parent ce76158085
commit 328561d388

View File

@ -51,7 +51,6 @@ class InternalCallMapHandlerTest extends TestCase
private static $ignoredFunctions = [
'apcu_entry',
'array_multisort',
'count', // #8346
'bcdiv',
'bcmod',
'bcpowmod',
@ -520,7 +519,13 @@ class InternalCallMapHandlerTest extends TestCase
/** @var string */
$function = is_int($key) ? $value : $key;
$this->assertGreaterThan(0, strcmp($function, $previousFunction));
$diff = strcmp($function, $previousFunction);
if ($diff <= 0) {
// faster debugging errors in tests
echo "\n" . $previousFunction . "\n" . $function . "\n";
}
$this->assertGreaterThan(0, $diff);
$previousFunction = $function;
}
}