WordPress.org

Make WordPress Core

Changeset 319 in tests


Ignore:
Timestamp:
11/15/10 08:46:35 (3 years ago)
Author:
westi
Message:

Extra tests to hilight new bug from changes for #WP15241 props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r318 r319  
    404404        $this->assertEquals('“test’s quoted”', wptexturize('"test\'s quoted"')); 
    405405    } 
    406      
     406 
     407    //WP Tickets #4539, #15241 
     408    function test_full_sentences_with_unmatched_single_quotes() { 
     409        $this->assertEquals( 
     410            'That means every moment you#8217;re working on something without it being in the public it#8217;s actually dying.', 
     411            wptexturize("That means every moment you're working on something without it being in the public it's actually dying.") 
     412        ); 
     413    } 
     414 
    407415    //WP Ticket #4539 
    408416    function test_quotes() { 
Note: See TracChangeset for help on using the changeset viewer.