Skip to content

[11.x] Fix line-ending mismatch in CliDumperTest::testArray and CliDumperTest::testObject#54222

Merged
taylorotwell merged 1 commit intolaravel:11.xfrom
AhmedAlaa4611:11.x
Jan 17, 2025
Merged

[11.x] Fix line-ending mismatch in CliDumperTest::testArray and CliDumperTest::testObject#54222
taylorotwell merged 1 commit intolaravel:11.xfrom
AhmedAlaa4611:11.x

Conversation

@AhmedAlaa4611
Copy link
Contributor

Description
This PR resolves a platform-specific issue in the CliDumperTest::testArray and CliDumperTest::testObject test, where differences in line endings (\r\n vs. \n) between operating systems (Windows vs. Unix-based systems) caused the test to fail.

Problem
The test failed when running on systems with different line-ending.

Solution
Normalize line endings for both expected and actual output.

@taylorotwell taylorotwell merged commit ab0ee26 into laravel:11.x Jan 17, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants