mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Fix GH-18404: Display diff when a single test is run (GH-19400)
This commit is contained in:
committed by
GitHub
parent
e4078a6a70
commit
9673079903
@@ -688,6 +688,10 @@ function main(): void
|
||||
// Run selected tests.
|
||||
$test_cnt = count($test_files);
|
||||
|
||||
if ($test_cnt === 1) {
|
||||
$cfg['show']['diff'] = true;
|
||||
}
|
||||
|
||||
verify_config($php);
|
||||
write_information($user_tests, $phpdbg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user