-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(lib)!: [
toPosix
] skip delimiters
Signed-off-by: Lexus Drumgold <[email protected]>
- Loading branch information
1 parent
5c6035d
commit 5ef0893
Showing
5 changed files
with
23 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (0) 1`] = `"C:."`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (0) 1`] = `"C:."`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (1) 1`] = `"C:/"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (1) 1`] = `"C:/"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (2) 1`] = `"C:"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (2) 1`] = `"C:"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (3) 1`] = `"C:/Windows/system32:C:/Windows:C:/Program Files/node/"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (3) 1`] = `"C:/Windows/system32;C:/Windows;C:/Program Files/node/"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (4) 1`] = `"C:/abc"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (4) 1`] = `"C:/abc"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (5) 1`] = `"C:/another_path/DIR/1/2/33//index"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (5) 1`] = `"C:/another_path/DIR/1/2/33//index"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (6) 1`] = `"C:/path/dir/index.html"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (6) 1`] = `"C:/path/dir/index.html"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (7) 1`] = `"C:abc"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (7) 1`] = `"C:abc"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (8) 1`] = `"//?/UNC"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (8) 1`] = `"//?/UNC"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (9) 1`] = `"//?/UNC/server/share"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (9) 1`] = `"//?/UNC/server/share"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (10) 1`] = `"//server two/shared folder/file path.zip"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (10) 1`] = `"//server two/shared folder/file path.zip"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (11) 1`] = `"//server/share/file_path"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (11) 1`] = `"//server/share/file_path"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (12) 1`] = `"//user/admin$/system32"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (12) 1`] = `"//user/admin$/system32"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (13) 1`] = `"/foo/C:"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (13) 1`] = `"/foo/C:"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (14) 1`] = `"another_path/DIR with spaces/1/2/33/index"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (14) 1`] = `"another_path/DIR with spaces/1/2/33/index"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (15) 1`] = `"./file"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (15) 1`] = `"./file"`; | ||
|
||
exports[`unit:lib/toPosix > should return posix-compliant \`path\` (16) 1`] = `"/"`; | ||
exports[`unit:lib/toPosix > should return \`path\` with posix-compliant separators (16) 1`] = `"/"`; |
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
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