Changeset 49193 for trunk/tests/phpunit/tests/formatting/Autop.php
- Timestamp:
- 10/18/2020 05:25:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/Autop.php
r48937 r49193 338 338 } 339 339 340 $expected = join( "\n", $content );341 $input = join( "\n\n", $content ); // Whitespace difference.340 $expected = implode( "\n", $content ); 341 $input = implode( "\n\n", $content ); // Whitespace difference. 342 342 343 343 $this->assertSame( $expected, trim( wpautop( $input ) ) ); 344 344 345 $input = join( '', $content ); // Whitespace difference.345 $input = implode( '', $content ); // Whitespace difference. 346 346 347 347 $this->assertSame( $expected, trim( wpautop( $input ) ) ); … … 354 354 } 355 355 356 $expected = join( "\n", $content );357 $input = join( '', $content );356 $expected = implode( "\n", $content ); 357 $input = implode( '', $content ); 358 358 359 359 $this->assertSame( $expected, trim( wpautop( $input ) ) ); … … 366 366 } 367 367 368 $expected = join( "\n", $content );369 $input = join( '', $content );368 $expected = implode( "\n", $content ); 369 $input = implode( '', $content ); 370 370 371 371 $this->assertSame( $expected, trim( wpautop( $input ) ) ); … … 427 427 } 428 428 429 $content = join( "\n\n", $content );430 $expected = join( "\n", $expected );429 $content = implode( "\n\n", $content ); 430 $expected = implode( "\n", $expected ); 431 431 432 432 $this->assertSame( $expected, trim( wpautop( $content ) ) );
Note: See TracChangeset
for help on using the changeset viewer.