Make WordPress Core

Ticket #28564: miqro-28564-part3.patch

File miqro-28564-part3.patch, 865 bytes (added by miqrogroove, 10 years ago)

Fix copypasta errors in unit tests.

  • tests/phpunit/tests/formatting/WPTexturize.php

     
    13281328         * Year abbreviations consist of exactly two digits.
    13291329         *
    13301330         * @ticket 26850
    1331          * @dataProvider data_quotes_and_dashes
     1331         * @dataProvider data_year_abbr
    13321332         */
    13331333        function test_year_abbr( $input, $output ) {
    13341334                return $this->assertEquals( $output, wptexturize( $input ) );
     
    16341634         * Extra sanity checks for _wptexturize_pushpop_element()
    16351635         *
    16361636         * @ticket 28483
    1637          * @dataProvider data_quotes_and_dashes
     1637         * @dataProvider data_element_stack
    16381638         */
    16391639        function test_element_stack( $input, $output ) {
    16401640                return $this->assertEquals( $output, wptexturize( $input ) );