Skip to content

Fix: make the test suite platform independent (fixes #43) - #70

Merged
HafizMMoaz merged 2 commits into
mainfrom
fix/issue-43-windows-tests
Sep 7, 2026
Merged

Fix: make the test suite platform independent (fixes #43)#70
HafizMMoaz merged 2 commits into
mainfrom
fix/issue-43-windows-tests

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

Fixes the two tests that fail on Windows: testWrite no longer hardcodes a LF expectation (compares against the platform PHP_EOL) and testIsWindows no longer asserts posix_isatty on every platform. Also guards the tput cols fallback and removes a duplicated file header in ExitCodeTest. Full suite now passes locally on Windows.

@HafizMMoaz
HafizMMoaz merged commit 5f60037 into main Sep 7, 2026
2 checks passed
@HafizMMoaz
HafizMMoaz deleted the fix/issue-43-windows-tests branch September 7, 2026 09:53
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.

1 participant