From 55063dd8e8e3ae52eb90bdf42e36d979dcbb5010 Mon Sep 17 00:00:00 2001 From: Rafael Vargas Date: Mon, 3 Feb 2020 10:20:15 -0300 Subject: 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. --- std/encoding/testdata/cargo.toml | 2 +- std/encoding/toml_test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'std/encoding') 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", -- cgit v1.2.3