summaryrefslogtreecommitdiff
path: root/fs/path/zero_length_strings_test.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-10-06 01:02:34 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-10-05 12:02:34 -0400
commit96fe2d10a4da0521b7cd72d90fd42121f9311978 (patch)
treecb4d5ecafa55a3a522cf0ad9d742fb6a1e1f2283 /fs/path/zero_length_strings_test.ts
parent2f90225c89926932a34eb40758e2af0d1742e1f8 (diff)
Update eslint and @typescript-eslint (denoland/deno_std#621)
Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e
Diffstat (limited to 'fs/path/zero_length_strings_test.ts')
-rw-r--r--fs/path/zero_length_strings_test.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/path/zero_length_strings_test.ts b/fs/path/zero_length_strings_test.ts
index 20405563c..744e97735 100644
--- a/fs/path/zero_length_strings_test.ts
+++ b/fs/path/zero_length_strings_test.ts
@@ -27,7 +27,8 @@ test(function normalizeZeroLength() {
});
test(function isAbsoluteZeroLength() {
- // Since '' is not a valid path in any of the common environments, return false
+ // Since '' is not a valid path in any of the common environments,
+ // return false
assertEquals(path.posix.isAbsolute(""), false);
if (path.win32) assertEquals(path.win32.isAbsolute(""), false);
});
@@ -40,7 +41,8 @@ test(function resolveZeroLength() {
});
test(function relativeZeroLength() {
- // relative, internally calls resolve. So, '' is actually the current directory
+ // relative, internally calls resolve. So, '' is actually the current
+ // directory
assertEquals(path.relative("", pwd), "");
assertEquals(path.relative(pwd, ""), "");
assertEquals(path.relative(pwd, pwd), "");