-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(formatPathLabel): enhance path handling with normalization utility
- Added a helper function to normalize path separators for consistent comparison in tests. - Updated existing tests to utilize the normalization function, ensuring accurate assertions across different platforms. - Refactored tests to improve clarity and maintainability, particularly for edge cases involving path formatting. - These changes enhance the robustness of the test suite for the formatPathLabel function, ensuring reliable behavior across diverse environments.
- Loading branch information
Showing
2 changed files
with
32 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters