WordPress.org

Make WordPress Core

Changeset 1168 in tests


Ignore:
Timestamp:
12/08/2012 04:49:01 AM (5 years ago)
Author:
nacin
Message:

wptexturize() test for formatting apostrophes in words before primes. see #WP22823.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/formatting/WPTexturize.php

    r909 r1168  
    173173        $this->assertEquals('&“Testing”', wptexturize('&"Testing"'));
    174174    }
     175
     176    /**
     177     * @ticket 22823
     178     */
     179    function test_apostrophes_before_primes() {
     180        $this->assertEquals( 'WordPress 3.5’s release date', wptexturize( "WordPress 3.5's release date" ) );
     181    }
    175182}
Note: See TracChangeset for help on using the changeset viewer.