- Timestamp:
- 02/22/2020 12:05:12 PM (6 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/formatting/MakeClickable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
-
branches/3.7/tests/phpunit/tests/formatting/MakeClickable.php
r25264 r47343 324 324 $this->assertEquals( $in, $out ); 325 325 } 326 327 /**328 * @ticket 16859329 */330 function test_square_brackets() {331 $urls_before = array(332 'http://example.com/?foo[bar]=baz',333 'http://example.com/?baz=bar&foo[bar]=baz',334 );335 $urls_expected = array(336 '<a href="http://example.com/?foo%5Bbar%5D=baz" rel="nofollow">http://example.com/?foo%5Bbar%5D=baz</a>',337 '<a href="http://example.com/?baz=bar&foo%5Bbar%5D=baz" rel="nofollow">http://example.com/?baz=bar&foo%5Bbar%5D=baz</a>',338 );339 foreach ($urls_before as $key => $url) {340 $this->assertEquals( $urls_expected[$key], make_clickable( $url ) );341 }342 }343 326 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)