Make WordPress Core


Ignore:
Timestamp:
08/14/2009 04:42:08 PM (15 years ago)
Author:
westi
Message:

Add tests for bracketed quoted strings from WP#1418 based on test cases from voyou1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r233 r234  
    221221    }
    222222   
     223    //WP Ticket #1418
     224    function test_bracketed_quotes() {
     225        $this->assertEquals('(“test”)', wptexturize('("test")'));
     226        $this->assertEquals('(‘test’)', wptexturize("('test')"));
     227        $this->assertEquals('(’twas)', wptexturize("('twas)"));
     228    }
     229   
    223230    function test_quotes() {
    224231        $this->assertEquals('“Quoted String”', wptexturize('"Quoted String"'));
Note: See TracChangeset for help on using the changeset viewer.