Skip to content

Commit 490efb8

Browse files
committed
fix: Correct capitalization of "Windows" and "Unix" in documentation for consistency.
1 parent a1c96d1 commit 490efb8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- Invoke inaccessible methods to expand testing coverage.
2929

3030
**Cross-Platform String Assertions**
31-
- Eliminate false positives/negatives caused by windows vs. unix line ending differences.
31+
- Eliminate false positives/negatives caused by Windows vs. Unix line ending differences.
3232
- Normalize line endings for consistent string comparisons across platforms.
3333

3434
**File System Test Management**

src/TestSupport.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ public static function invokeParentMethod(
160160
}
161161

162162
/**
163-
* Normalizes line endings to unix style ('\n') for cross-platform string assertions.
163+
* Normalizes line endings to Unix style ('\n') for cross-platform string assertions.
164164
*
165-
* Converts windows style ('\r\n') line endings to unix style ('\n') to ensure consistent string comparisons across
165+
* Converts Windows style ('\r\n') line endings to Unix style ('\n') to ensure consistent string comparisons across
166166
* different operating systems during testing.
167167
*
168168
* This method is useful for eliminating false negatives in assertions caused by platform-specific line endings.
169169
*
170-
* @param string $line Input string potentially containing windows style line endings.
170+
* @param string $line Input string potentially containing Windows style line endings.
171171
*
172-
* @return string String with normalized unix style line endings.
172+
* @return string String with normalized Unix style line endings.
173173
*/
174174
public static function normalizeLineEndings(string $line): string
175175
{

0 commit comments

Comments
 (0)