summaryrefslogtreecommitdiff
path: root/std/fs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2020-01-17 15:44:35 -0800
committerRy Dahl <ry@tinyclouds.org>2020-01-17 18:44:35 -0500
commitfc077cd315f3d2ea508f2aac39bc65d4ac6a5747 (patch)
tree6a37b08aee4dbd425ba6cdf58b6604e99c389b24 /std/fs
parent5fa056e53be6d17ab746629ea0eaa89fe817141b (diff)
std/http: allow response body to be string (#3705)
Diffstat (limited to 'std/fs')
-rw-r--r--std/fs/empty_dir_test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts
index 55fdb52dc..77e98c0ce 100644
--- a/std/fs/empty_dir_test.ts
+++ b/std/fs/empty_dir_test.ts
@@ -233,6 +233,8 @@ test(async function emptyDirPermission(): Promise<void> {
await Deno.remove(testfolder, { recursive: true });
throw err;
}
-
+ // Make the test rerunnable
+ // Otherwise would throw error due to mkdir fail.
+ await Deno.remove(testfolder, { recursive: true });
// done
});