diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-04-16 06:40:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 01:40:30 -0400 |
commit | 5ac728a5f1af575d011c2143f5c9273b0fb4c5bb (patch) | |
tree | dfba0fdb3ba17989fd6c3af89ce17a0a71a4df0c /std/fs/ensure_link_test.ts | |
parent | 6441852a1d5eef0d05ed172a00bef58ad5988842 (diff) |
refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)
Diffstat (limited to 'std/fs/ensure_link_test.ts')
-rw-r--r-- | std/fs/ensure_link_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/fs/ensure_link_test.ts b/std/fs/ensure_link_test.ts index 3c7720dc0..235650ebf 100644 --- a/std/fs/ensure_link_test.ts +++ b/std/fs/ensure_link_test.ts @@ -50,8 +50,8 @@ Deno.test(async function ensureLinkIfItExist(): Promise<void> { const srcStat = await Deno.lstat(testFile); const linkStat = await Deno.lstat(linkFile); - assertEquals(srcStat.isFile(), true); - assertEquals(linkStat.isFile(), true); + assertEquals(srcStat.isFile, true); + assertEquals(linkStat.isFile, true); // har link success. try to change one of them. they should be change both. @@ -98,8 +98,8 @@ Deno.test(function ensureLinkSyncIfItExist(): void { const linkStat = Deno.lstatSync(linkFile); - assertEquals(srcStat.isFile(), true); - assertEquals(linkStat.isFile(), true); + assertEquals(srcStat.isFile, true); + assertEquals(linkStat.isFile, true); // har link success. try to change one of them. they should be change both. |