Ticket #18575: 18575_test.patch
| File 18575_test.patch, 708 bytes (added by , 15 years ago) |
|---|
-
wp-testcase/test_includes_formatting.php
469 469 $this->assertEquals(' “Testing”', wptexturize(' "Testing"')); 470 470 $this->assertEquals('&“Testing”', wptexturize('&"Testing"')); 471 471 } 472 473 //WP Ticket #18575 474 function test_unbalacned_brackets() { 475 $this->knownWPBug(18575); 476 $this->assertEquals('[hello <a href="foo[bar](\'baz\')">world</a>', wptexturize('[hello <a href="foo[bar](\'baz\')">world</a>')); 477 } 472 478 } 473 479 474 480 class TestCleanUrl extends WPTestCase {