- Timestamp:
- 01/06/2024 12:59:49 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorSemanticRules.php
r57186 r57244 36 36 } 37 37 38 $this->assert Equals(38 $this->assertSame( 39 39 $tag_name, 40 40 $processor->get_tag(), … … 126 126 127 127 $p->step(); 128 $this->assert Equals( 'DIV', $p->get_tag(), 'Did not stop at initial DIV tag.' );128 $this->assertSame( 'DIV', $p->get_tag(), 'Did not stop at initial DIV tag.' ); 129 129 $this->assertFalse( $p->is_tag_closer(), 'Did not find that initial DIV tag is an opener.' ); 130 130 … … 134 134 */ 135 135 $this->assertTrue( $p->step(), 'Found no further tags when it should have found the closing DIV' ); 136 $this->assert Equals( 'DIV', $p->get_tag(), "Did not skip unexpected BUTTON; stopped at {$p->get_tag()}." );136 $this->assertSame( 'DIV', $p->get_tag(), "Did not skip unexpected BUTTON; stopped at {$p->get_tag()}." ); 137 137 $this->assertTrue( $p->is_tag_closer(), 'Did not find that the terminal DIV tag is a closer.' ); 138 138 }
Note: See TracChangeset
for help on using the changeset viewer.