Make WordPress Core

Changeset 1282 in tests


Ignore:
Timestamp:
05/10/2013 11:57:49 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Update wp_html_excerpt() test to reflect the change in [WP24214]. fixes #24311.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/formatting/HtmlExcerpt.php

    r909 r1282  
    1212    }
    1313    function test_entities() {
    14         $this->assertEquals("Baba ", wp_html_excerpt("Baba & Dyado", 8));
    15         $this->assertEquals("Baba ", wp_html_excerpt("Baba & Dyado", 8));
     14        $this->assertEquals("Baba", wp_html_excerpt("Baba & Dyado", 8));
     15        $this->assertEquals("Baba", wp_html_excerpt("Baba & Dyado", 8));
    1616        $this->assertEquals("Baba & D", wp_html_excerpt("Baba & Dyado", 12));
    1717        $this->assertEquals("Baba & Dyado", wp_html_excerpt("Baba & Dyado", 100));
Note: See TracChangeset for help on using the changeset viewer.