Changeset 58741
- Timestamp:
- 07/17/2024 12:33:21 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php
r58677 r58741 588 588 } 589 589 590 $this->assertSame( $expected_tag_name, $processor->get_tag(), "Found incorrect tag name {$processor->get_t ag()}." );590 $this->assertSame( $expected_tag_name, $processor->get_tag(), "Found incorrect tag name {$processor->get_token_name()}." ); 591 591 if ( 'open' === $expect_open_close ) { 592 $this->assertFalse( $processor->is_tag_closer(), "Found closer when opener expected at {$processor->get_t ag()}." );592 $this->assertFalse( $processor->is_tag_closer(), "Found closer when opener expected at {$processor->get_token_name()}." ); 593 593 } else { 594 $this->assertTrue( $processor->is_tag_closer(), "Found opener when closer expected at {$processor->get_t ag()}." );595 } 596 597 $this->assert Equals( $expected_breadcrumbs, $processor->get_breadcrumbs(), "Found incorrect breadcrumbs in {$html}." );594 $this->assertTrue( $processor->is_tag_closer(), "Found opener when closer expected at {$processor->get_token_name()}." ); 595 } 596 597 $this->assertSame( $expected_breadcrumbs, $processor->get_breadcrumbs(), "Found incorrect breadcrumbs in {$html}." ); 598 598 } 599 599
Note: See TracChangeset
for help on using the changeset viewer.