Skip to content

Commit 3d98b62

Browse files
committed
Try splitting by newline only
1 parent 4ddaa5b commit 3d98b62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Context/Support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ protected function check_that_csv_string_contains_values( $actual_csv, $expected
244244
static function ( $str ) {
245245
return str_getcsv( $str, ',', '"', '\\' );
246246
},
247-
explode( PHP_EOL, $actual_csv )
247+
explode( "\n", $actual_csv )
248248
);
249249

250250
if ( empty( $actual_csv ) ) {

0 commit comments

Comments
 (0)