Make WordPress Core

Changeset 1269 in tests


Ignore:
Timestamp:
04/22/2013 07:54:47 PM (12 years ago)
Author:
nacin
Message:

Additional test case for backslashit(). props SergeyBiryukov. see #22286.

File:
1 edited

Legend:

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

    r909 r1269  
    55 */
    66class Tests_Formatting_Slashit extends WP_UnitTestCase {
     7    function test_backslashes_middle_numbers() {
     8        $this->assertEquals("\\a-!9\\a943\\b\\c", backslashit("a-!9a943bc"));
     9    }
     10
    711    function test_backslashes_alphas() {
    812        $this->assertEquals("\\a943\\b\\c", backslashit("a943bc"));
Note: See TracChangeset for help on using the changeset viewer.