Skip to content

Commit 79a31d3

Browse files
committed
Fix expect/actual ordering, add test message
1 parent 01e6fd4 commit 79a31d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function test_external_html5lib( $fragment_context, $html, $result ) {
4848
if ( null === $processed_tree ) {
4949
$this->markTestSkipped( 'Skipped test because it contains unsupported markup.' );
5050
} else {
51-
$this->assertEquals( $processed_tree, $result );
51+
$this->assertEquals( $result, $processed_tree, "HTML {$html} was not processed correctly." );
5252
}
5353
}
5454

0 commit comments

Comments
 (0)