mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
fix: Deno.remove() to properly remove dangling symlinks (denoland/deno#3860)
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
This commit is contained in:
parent
6630b59cec
commit
500b97dde6
2
encoding/testdata/cargo.toml
vendored
2
encoding/testdata/cargo.toml
vendored
@ -38,7 +38,7 @@ libc = "0.2.49"
|
||||
log = "0.4.6"
|
||||
rand = "0.6.5"
|
||||
regex = "1.1.0"
|
||||
remove_dir_all = "0.5.1"
|
||||
remove_dir_all = "0.5.2"
|
||||
ring = "0.14.6"
|
||||
rustyline = "3.0.0"
|
||||
serde_json = "1.0.38"
|
||||
|
@ -276,7 +276,7 @@ test({
|
||||
log: "0.4.6",
|
||||
rand: "0.6.5",
|
||||
regex: "1.1.0",
|
||||
remove_dir_all: "0.5.1",
|
||||
remove_dir_all: "0.5.2",
|
||||
ring: "0.14.6",
|
||||
rustyline: "3.0.0",
|
||||
serde_json: "1.0.38",
|
||||
|
Loading…
Reference in New Issue
Block a user