Skip to content

fix(tests): update file URI normalization for Windows compatibility #5959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Lee-WonJun
Copy link

@Lee-WonJun Lee-WonJun commented Aug 8, 2025

#5958 issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

In FileUri Tests, the normalizeFileUri helper hardcoded the Windows drive letter as C:.
This caused test failures when running on a different drive (e.g., F:, D:).
This change updates the function to dynamically detect the current drive letter at runtime and use it when constructing the expected file URI.
The fix applies only to the test utility and does not affect production code.

Checklist

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Lee-WonJun Lee-WonJun requested a review from a team as a code owner August 8, 2025 15:28
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