WordPress.org

Make WordPress Core

Ticket #23605: 23605_geturlincontent_tests.diff

File 23605_geturlincontent_tests.diff, 536 bytes (added by gitlost, 6 years ago)

Unit test needs updating to reflect kept space.

  • tests/phpunit/tests/formatting/GetUrlInContent.php

     
    3434                        ), // multiple links
    3535                        array (
    3636                                'ABC<div><a href="http://example.com/Mr%20WordPress 2">LINK</a> CONTENT </div>',
    37                                 "http://example.com/Mr%20WordPress2"
     37                                "http://example.com/Mr%20WordPress%202"
    3838                        ), // escape link
    3939                );
    4040        }