Changeset 58892
- Timestamp:
- 08/13/2024 09:42:07 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php
r58871 r58892 156 156 $found_tag = $processor->next_tag(); 157 157 158 if ( WP_HTML_Processor::ERROR_UNSUPPORTED === $processor->get_last_error() ) {159 $this->markTestSkipped( "Tag {$tag_name} is not supported." );160 }161 162 158 $this->assertTrue( 163 159 $found_tag, … … 220 216 $processor = WP_HTML_Processor::create_fragment( $self_contained_token ); 221 217 $found_token = $processor->next_token(); 222 223 if ( WP_HTML_Processor::ERROR_UNSUPPORTED === $processor->get_last_error() ) {224 $this->markTestSkipped( "HTML '{$self_contained_token}' is not supported." );225 }226 218 227 219 $this->assertTrue( … … 305 297 306 298 $found_tag = $processor->next_token(); 307 308 if ( WP_HTML_Processor::ERROR_UNSUPPORTED === $processor->get_last_error() ) {309 $this->markTestSkipped( "Tag {$tag_name} is not supported." );310 }311 299 312 300 $this->assertTrue(
Note: See TracChangeset
for help on using the changeset viewer.