Skip to content

Conversation

@DanielRosenwasser
Copy link
Member

assert.Equal(t, GetNormalizedAbsolutePath("\\a\\..\\", ""), "/")
assert.Equal(t, GetNormalizedAbsolutePath("\\a\\..\\", ""), "/")
assert.Equal(t, GetNormalizedAbsolutePath("\\a\\..\\b", ""), "/b")
assert.Equal(t, GetNormalizedAbsolutePath("\\a\\..\\b\\", ""), "/b")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like all of these backslash cases would benefit from using raw strings, but, I guess it's the same as the main TS repo

@DanielRosenwasser DanielRosenwasser merged commit 47f0cc7 into main Dec 18, 2024
12 checks passed
@jakebailey jakebailey deleted the testsForGetNormalizedAbsolutePath branch January 8, 2025 22:26
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.

3 participants