WordPress.org

Make WordPress Core

Changeset 314 in tests


Ignore:
Timestamp:
10/31/10 09:08:31 (3 years ago)
Author:
westi
Message:

More tests for twitter hash bang urls see #WP14993.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r313 r314  
    206206    function test_twitter_hash_bang() { 
    207207        $this->knownWPBug(14993); 
    208             $urls_before = array( 
     208        $urls_before = array( 
    209209            'http://twitter.com/#!/wordpress/status/25907440233', 
     210            'This is a really good tweet http://twitter.com/#!/wordpress/status/25907440233 !', 
     211            'This is a really good tweet http://twitter.com/#!/wordpress/status/25907440233!', 
    210212        ); 
    211213        $urls_expected = array( 
    212214            '<a href="http://twitter.com/#!/wordpress/status/25907440233" rel="nofollow">http://twitter.com/#!/wordpress/status/25907440233</a>', 
     215            'This is a really good tweet <a href="http://twitter.com/#!/wordpress/status/25907440233" rel="nofollow">http://twitter.com/#!/wordpress/status/25907440233</a> !', 
     216            'This is a really good tweet <a href="http://twitter.com/#!/wordpress/status/25907440233" rel="nofollow">http://twitter.com/#!/wordpress/status/25907440233</a>!', 
    213217        ); 
    214218        foreach ($urls_before as $key => $url) { 
Note: See TracChangeset for help on using the changeset viewer.