Changeset 48937 for trunk/tests/phpunit/tests/formatting/CapitalPDangit.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/CapitalPDangit.php
r46586 r48937 8 8 function test_esc_attr_quotes() { 9 9 global $wp_current_filter; 10 $this->assert Equals( 'Something about WordPress', capital_P_dangit( 'Something about Wordpress' ) );11 $this->assert Equals( 'Something about (WordPress', capital_P_dangit( 'Something about (Wordpress' ) );12 $this->assert Equals( 'Something about ‘WordPress', capital_P_dangit( 'Something about ‘Wordpress' ) );13 $this->assert Equals( 'Something about “WordPress', capital_P_dangit( 'Something about “Wordpress' ) );14 $this->assert Equals( 'Something about >WordPress', capital_P_dangit( 'Something about >Wordpress' ) );15 $this->assert Equals( 'Wordpress', capital_P_dangit( 'Wordpress' ) );10 $this->assertSame( 'Something about WordPress', capital_P_dangit( 'Something about Wordpress' ) ); 11 $this->assertSame( 'Something about (WordPress', capital_P_dangit( 'Something about (Wordpress' ) ); 12 $this->assertSame( 'Something about ‘WordPress', capital_P_dangit( 'Something about ‘Wordpress' ) ); 13 $this->assertSame( 'Something about “WordPress', capital_P_dangit( 'Something about “Wordpress' ) ); 14 $this->assertSame( 'Something about >WordPress', capital_P_dangit( 'Something about >Wordpress' ) ); 15 $this->assertSame( 'Wordpress', capital_P_dangit( 'Wordpress' ) ); 16 16 17 17 $wp_current_filter = array( 'the_title' ); 18 $this->assert Equals( 'WordPress', capital_P_dangit( 'Wordpress' ) );18 $this->assertSame( 'WordPress', capital_P_dangit( 'Wordpress' ) ); 19 19 } 20 20 }
Note: See TracChangeset
for help on using the changeset viewer.