diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-03-23 00:24:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-23 00:24:45 +0100 |
| commit | c3f306d7782a30440435d4b3493a9f681bb31e09 (patch) | |
| tree | ad5e823d0b09f21eb43ef5558c8037618dd72a6e /cli/tests/testdata/test/ops_sanitizer_missing_details.ts | |
| parent | 85c60d23f2b0ec7e2240e91bbddcc054379ec2da (diff) | |
fix(test): don't error on missing op details (#14074)
Diffstat (limited to 'cli/tests/testdata/test/ops_sanitizer_missing_details.ts')
| -rw-r--r-- | cli/tests/testdata/test/ops_sanitizer_missing_details.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/ops_sanitizer_missing_details.ts b/cli/tests/testdata/test/ops_sanitizer_missing_details.ts new file mode 100644 index 000000000..406773129 --- /dev/null +++ b/cli/tests/testdata/test/ops_sanitizer_missing_details.ts @@ -0,0 +1,10 @@ +// https://github.com/denoland/deno/issues/13729 +// https://github.com/denoland/deno/issues/13938 +import { writeAll } from "../../../../test_util/std/io/util.ts"; + +Deno.test("test 1", { permissions: { write: true, read: true } }, async () => { + const tmpFile = await Deno.makeTempFile(); + const file = await Deno.open(tmpFile, { write: true }); + const buf = new Uint8Array(new Array(1_000_000).fill(1)); + writeAll(file, buf); +}); |
