WordPress.org

Make WordPress Core

Changeset 318 in tests


Ignore:
Timestamp:
11/10/10 19:55:59 (3 years ago)
Author:
westi
Message:

Add extra wptexturize test cases from #WP15357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r317 r318  
    470470        $this->assertEquals('“a 9′ b”', wptexturize('"a 9\' b"')); 
    471471        $this->assertEquals('‘a 9″ b’', wptexturize("'a 9\" b'")); 
     472    } 
     473     
     474    function test_entity_quote_cuddling() { 
     475        $this->knownWPBug(15357); 
     476        $this->assertEquals(' “Testing”', wptexturize(' "Testing"')); 
     477        $this->assertEquals('&“Testing”', wptexturize('&"Testing"')); 
    472478    } 
    473479} 
Note: See TracChangeset for help on using the changeset viewer.