Skip to content

Commit

Permalink
Add blank lines to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
xknown committed Nov 10, 2023
1 parent d594226 commit dd6f0f9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/5-UpdateMixedLineEndingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,21 @@ public static function set_up_before_class() {
self::$test_config_lines = array(
"<?php\n",
"// this is a demo\r\n",
"\r\n",
"\r\n",
"define( 'DB_NAME', '' );\n",
"define( 'DB_HOST', '' );\r\n",
"define( 'DB_USER', '' );\n\r",
"\r\n",
"\n\r",
"\r",
"\r",
"\r\n",
"define( 'DB_COLLATE', '');\n",
"\n\r",
"\n\r",
"\r",
"\r",
);
self::$test_config_path = tempnam( sys_get_temp_dir(), 'wp-config' );
file_put_contents( self::$test_config_path, implode( '', self::$test_config_lines ) );
Expand Down

0 comments on commit dd6f0f9

Please sign in to comment.