WordPress.org

Make WordPress Core

Changeset 35124


Ignore:
Timestamp:
10/13/2015 03:41:11 AM (4 years ago)
Author:
wonderboymusic
Message:

After [35122], update test_wp_unique_filename() to reflect the change.

See #16226.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions.php

    r34771 r35124  
    163163
    164164        // test crazy name (useful for regression tests)
    165         $this->assertEquals( '12%af34567890@..%^_-qwerty-fghjkl-zx.png', wp_unique_filename( $testdir, '12%af34567890#~!@#$..%^&*()|_+qwerty  fgh`jkl zx<>?:"{}[]="\'/?.png' ), 'Failed crazy file name' );
     165        $this->assertEquals( '12af34567890@..^_qwerty-fghjkl-zx.png', wp_unique_filename( $testdir, '12%af34567890#~!@#$..%^&*()|_+qwerty  fgh`jkl zx<>?:"{}[]="\'/?.png' ), 'Failed crazy file name' );
    166166
    167167        // test slashes in names
     
    607607            $this->markTestSkipped( 'mbstring extension not available.' );
    608608        }
    609    
     609
    610610        $old_charsets = $charsets = mb_detect_order();
    611611        if ( ! in_array( 'EUC-JP', $charsets ) ) {
Note: See TracChangeset for help on using the changeset viewer.