We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e22832 commit 8a063e1Copy full SHA for 8a063e1
1 file changed
tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php
@@ -84,7 +84,9 @@ public function data_external_html5lib_tests() {
84
foreach ( self::parse_html5_dat_testfile( $test_dir . $entry ) as $k => $test ) {
85
// strip .dat extension from filename
86
$test_suite = substr( $entry, 0, strlen( $entry ) - 4 );
87
- yield "{$test_suite}/line{$test[0]}" => array_slice( $test, 1 );
+ $line = str_pad( strval( $test[0] ), 4, '0', STR_PAD_LEFT );
88
+
89
+ yield "{$test_suite}/line{$line}" => array_slice( $test, 1 );
90
}
91
92
closedir( $handle );
0 commit comments