Changeset 48604 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 07/24/2020 06:17:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r47454 r48604 177 177 178 178 // Check special chars. 179 $this->assertEquals( 'testt ést-imagé.png', wp_unique_filename( $testdir, 'testtést-imagé.png' ), 'Filename with special chars failed' );179 $this->assertEquals( 'testtest-image.png', wp_unique_filename( $testdir, 'testtést-imagé.png' ), 'Filename with special chars failed' ); 180 180 181 181 // Check special chars with potential conflicting name. 182 $this->assertEquals( 't ést-imagé.png', wp_unique_filename( $testdir, 'tést-imagé.png' ), 'Filename with special chars failed' );182 $this->assertEquals( 'test-image-1.png', wp_unique_filename( $testdir, 'tést-imagé.png' ), 'Filename with special chars failed' ); 183 183 184 184 // Check with single quotes in name (somehow).
Note: See TracChangeset
for help on using the changeset viewer.