Browse Source

- '_' is valid in test blocks

migration/RELEASE_1_0_0
Marcus Boerger 20 years ago
parent
commit
5b858067d3
  1. 2
      run-tests.php

2
run-tests.php

@ -989,7 +989,7 @@ TEST $file
$line = fgets($fp);
// Match the beginning of a section.
if (preg_match('/^--([A-Z]+)--/', $line, $r)) {
if (preg_match('/^--([_A-Z]+)--/', $line, $r)) {
$section = $r[1];
$section_text[$section] = '';
$secfile = $section == 'FILE' || $section == 'FILEEOF';

Loading…
Cancel
Save