Commit 6b493c9
committed
fix(tests): resolve Windows-specific test failures
- Fixed null byte filename test for Windows compatibility
- Windows doesn't support null bytes in filenames
- Test now expects appropriate error message per OS
- Fixed flaky debounce timing test on Windows
- Added tolerance for Windows timing imprecision
- Allows 1-2 processing calls instead of exactly 2
Both fixes use runtime.GOOS detection to apply Windows-specific
handling while maintaining Unix compatibility.1 parent 5020c1b commit 6b493c9
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
202 | 210 | | |
203 | 211 | | |
204 | 212 | | |
| |||
760 | 768 | | |
761 | 769 | | |
762 | 770 | | |
763 | | - | |
764 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
765 | 781 | | |
766 | 782 | | |
767 | 783 | | |
| |||
0 commit comments