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:
Rafael Vargas 2020-02-03 10:20:15 -03:00 committed by denobot
parent 6630b59cec
commit 500b97dde6
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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",