Changeset 48937 for trunk/tests/phpunit/tests/formatting/URLShorten.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/URLShorten.php
r47122 r48937 15 15 ); 16 16 foreach ( $tests as $k => $v ) { 17 $this->assert Equals( $v, url_shorten( $k ) );17 $this->assertSame( $v, url_shorten( $k ) ); 18 18 } 19 19 20 20 // Shorten to 31 if > 34 after cleaning. 21 $this->assert Equals( 'wordpress.org/about/philosophy/#…', url_shorten( 'http://wordpress.org/about/philosophy/#decisions' ), 31 );21 $this->assertSame( 'wordpress.org/about/philosophy/#…', url_shorten( 'http://wordpress.org/about/philosophy/#decisions' ), 31 ); 22 22 } 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.