Make WordPress Core


Ignore:
Timestamp:
09/05/2013 09:56:10 PM (13 years ago)
Author:
nacin
Message:

Remove old WP version checks from PHPUnit test cases now that tests are branched with each version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/MakeClickable.php

    r25002 r25264  
    317317
    318318    /**
    319      * ticket 16892
     319     * @ticket 16892
    320320     */
    321321    function test_no_segfault() {
    322         if ( version_compare( $GLOBALS['wp_version'], '3.1.1', '<' ) )
    323             $this->markTestSkipped();
    324 
    325322        $in = str_repeat( 'http://example.com/2011/03/18/post-title/', 256 );
    326323        $out = make_clickable( $in );
    327         if ( version_compare( $GLOBALS['wp_version'], '3.4-alpha', '>=' ) )
    328             $this->assertEquals( $in, $out );
     324        $this->assertEquals( $in, $out );
    329325    }
    330326
Note: See TracChangeset for help on using the changeset viewer.