diff options
author | Rafael Vargas <vargas.rafael9@gmail.com> | 2020-02-03 10:20:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 08:20:15 -0500 |
commit | 55063dd8e8e3ae52eb90bdf42e36d979dcbb5010 (patch) | |
tree | deaa0b366a67d60d5a2bd4afdbed38fa845e0e48 /std/encoding | |
parent | f168597b7ab81afda3bf4749a81c360d364e7cf1 (diff) |
fix: Deno.remove() to properly remove dangling symlinks (#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.
Diffstat (limited to 'std/encoding')
-rw-r--r-- | std/encoding/testdata/cargo.toml | 2 | ||||
-rw-r--r-- | std/encoding/toml_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/std/encoding/testdata/cargo.toml b/std/encoding/testdata/cargo.toml index 11bf7aa70..93583edbf 100644 --- a/std/encoding/testdata/cargo.toml +++ b/std/encoding/testdata/cargo.toml @@ -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" diff --git a/std/encoding/toml_test.ts b/std/encoding/toml_test.ts index da5251458..8dab996a6 100644 --- a/std/encoding/toml_test.ts +++ b/std/encoding/toml_test.ts @@ -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", |