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