Changeset 55064
- Timestamp:
- 01/13/2023 02:36:11 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/sanitizeTrackbackUrls.php
r53562 r55064 9 9 /** 10 10 * @ticket 21624 11 * @dataProvider breaks11 * @dataProvider separators 12 12 */ 13 public function test_sanitize_trackback_urls_with_multiple_urls( $break ) { 14 $this->assertSame( "http://example.com\nhttp://example.org", sanitize_trackback_urls( "http://example.com{$break}http://example.org" ) ); 13 public function test_sanitize_trackback_urls_with_multiple_urls( $separator ) { 14 $this->assertSame( 15 "http://example.com\nhttp://example.org", 16 sanitize_trackback_urls( "http://example.com{$separator}http://example.org" ) 17 ); 15 18 } 16 19 17 public function breaks() {20 public function separators() { 18 21 return array( 19 22 array( "\r\n\t " ),
Note: See TracChangeset
for help on using the changeset viewer.