- Timestamp:
- 03/19/2023 12:51:14 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/getUrlInContent.php
r55562 r55563 9 9 10 10 /** 11 * Validate the get_url_in_content function11 * Tests the get_url_in_content() function. 12 12 * 13 13 * @dataProvider data_get_url_in_content 14 14 */ 15 public function test_get_url_in_content( $in _str, $exp_str) {16 $this->assertSame( $exp _str, get_url_in_content( $in_str) );15 public function test_get_url_in_content( $input, $expected ) { 16 $this->assertSame( $expected, get_url_in_content( $input ) ); 17 17 } 18 18 19 19 /** 20 * URL Content Data Provider20 * Data provider. 21 21 * 22 * array ( input_txt, converted_output_txt ) 22 * @return array { 23 * @type array { 24 * @type string $input Input content. 25 * @type string $expected Expected output. 26 * } 27 * } 23 28 */ 24 29 public function data_get_url_in_content() {
Note: See TracChangeset
for help on using the changeset viewer.