Skip to content

Commit

Permalink
Te
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko committed Dec 19, 2022
1 parent beafe9a commit e500f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/experimental/html/class-wp-html-tag-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1341,12 +1341,12 @@ public function seek( $bookmark_name ) {
*/
private static function sort_start_ascending( $a, $b ) {
$by_start = $a->start - $b->start;
if ( $by_start !== 0 ) {
if ( 0 !== $by_start ) {
return $by_start;
}

$by_text = isset( $a->text, $b->text ) ? strcmp( $a->text, $b->text ) : 0;
if ( $by_text !== 0 ) {
if ( 0 !== $by_text ) {
return $by_text;
}

Expand Down

1 comment on commit e500f7c

@github-actions
Copy link

@github-actions github-actions bot commented on e500f7c Dec 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3734108819
📝 Reported issues:

Please sign in to comment.