Skip to content

Commit 011f6e8

Browse files
committed
fix: use lowercase only for driver letter
1 parent a3688c0 commit 011f6e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_normalize_file_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_file_uri_with_windows_drive(self) -> None:
8181
out = normalize_file_path("file:///C:/Users/Dev/project")
8282
self.assertIn("users", out)
8383
self.assertIn("dev", out)
84-
self.assertTrue(out.startswith("c:") or out.startswith("C:"))
84+
self.assertTrue(out.startswith("c:"))
8585

8686
def test_mixed_case_drive_lowercased(self) -> None:
8787
out = normalize_file_path(r"E:\Mixed\Case\Path")

0 commit comments

Comments
 (0)