diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-06-12 12:25:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 14:25:07 +0200 |
commit | 928522145226cb34069b6561d0b10cfd6ce01e5d (patch) | |
tree | 0b606a5c0c5ceb3352892c4961eb958bbd416c23 /std/fs/write_json.ts | |
parent | e7054d50f0992103a8810bb012179235fb30e0fe (diff) |
fix(cli/js): broken truncate permission tests (#6249)
The tests for testing that `Deno.truncateSync` and `Deno.truncate`
require write permissions seem to not call the functions they are
testing *at all* and are calling `Deno.mkdir` and `Deno.mkdirSync`
instead.
This commit replaces those calls with calls to `Deno.truncateSync`
and `Deno.truncate` respectively.
Diffstat (limited to 'std/fs/write_json.ts')
0 files changed, 0 insertions, 0 deletions