WordPress.org

Make WordPress Core

Changeset 486 in tests


Ignore:
Timestamp:
12/16/2011 04:33:44 AM (6 years ago)
Author:
dd32
Message:

Fix TestAutoP test to account for EOL-style differences on Win32 platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r475 r486  
    568568PS.  Not yet subscribed for update notifications?  <a href="%1$s" title="Subscribe to the WordPress mailing list for Release Notifications">Do it now!</a>
    569569';
     570
     571        // On windows environments, the EOL-style is \r\n
     572        $expected = str_replace( "\r\n", "\n", $expected);
     573
    570574        $this->assertEquals($expected, wpautop($test_data));
    571575    }
Note: See TracChangeset for help on using the changeset viewer.