Skip to content

Commit

Permalink
Merge pull request #1387 from WordPress/fix/od-tag-processor-wp-trunk
Browse files Browse the repository at this point in the history
Fix Optimization Detective test case for WP 6.7-alpha
  • Loading branch information
westonruter authored Jul 23, 2024
2 parents 58447e0 + b0f1172 commit 966e4b7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,18 @@ public function data_provider_sample_documents(): array {
<head></head>
<body>
<span>1</span>
<br></br>
<meta></meta>
<span>2</span>
</body>
</html>
',
'open_tags' => array( 'HTML', 'HEAD', 'BODY', 'SPAN', 'BR', 'SPAN' ),
'open_tags' => array( 'HTML', 'HEAD', 'BODY', 'SPAN', 'META', 'SPAN' ),
'xpaths' => array(
'/*[1][self::HTML]',
'/*[1][self::HTML]/*[1][self::HEAD]',
'/*[1][self::HTML]/*[2][self::BODY]',
'/*[1][self::HTML]/*[2][self::BODY]/*[1][self::SPAN]',
'/*[1][self::HTML]/*[2][self::BODY]/*[2][self::BR]',
'/*[1][self::HTML]/*[2][self::BODY]/*[2][self::META]',
'/*[1][self::HTML]/*[2][self::BODY]/*[3][self::SPAN]',
),
),
Expand Down

0 comments on commit 966e4b7

Please sign in to comment.