Skip to content

Commit 552c68e

Browse files
committed
1-index test case numbering
1 parent 89191b8 commit 552c68e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public function data_external_html5lib_tests() {
5757
}
5858

5959
foreach ( self::parse_html5_dat_testfile( $test_dir . $entry ) as $k => $test ) {
60-
yield "{$entry}/case {$k} - line {$test[0]}" => array_slice( $test, 1 );
60+
$case = $k + 1;
61+
yield "{$entry}/case {$case} - line {$test[0]}" => array_slice( $test, 1 );
6162
}
6263
}
6364
closedir( $handle );

0 commit comments

Comments
 (0)