WordPress.org

Make WordPress Core

Changeset 252 in tests


Ignore:
Timestamp:
10/22/09 18:45:03 (5 years ago)
Author:
westi
Message:

Add a couple more tests for make_clickable().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r251 r252  
    159159            'http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)', 
    160160            '(http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software))', 
    161         ); 
     161            'blah http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software) blah', 
     162            'blah (http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)) blah', 
     163            ); 
    162164        $urls_expected = array( 
    163165            '<a href="http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)" rel="nofollow">http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)</a>', 
    164166            '(<a href="http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)" rel="nofollow">http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)</a>)', 
     167            'blah <a href="http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)" rel="nofollow">http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)</a> blah', 
     168            'blah (<a href="http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)" rel="nofollow">http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)</a>) blah', 
    165169        ); 
    166170        foreach ($urls_before as $key => $url) { 
Note: See TracChangeset for help on using the changeset viewer.