diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-25 00:09:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 00:09:14 +0200 |
commit | 0cb1bb98cc2de8dfe51b7adbe992666936146c90 (patch) | |
tree | a50b84ff268732e9db15895b443638ac86657007 /std/archive/tar_test.ts | |
parent | 833539fcafa77f341b74498b37372a61c5f10418 (diff) |
BREAKING CHANGE: change order of args in Deno.copy() (#4885)
Diffstat (limited to 'std/archive/tar_test.ts')
-rw-r--r-- | std/archive/tar_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/archive/tar_test.ts b/std/archive/tar_test.ts index ae3ee8138..cd22addcc 100644 --- a/std/archive/tar_test.ts +++ b/std/archive/tar_test.ts @@ -30,8 +30,8 @@ Deno.test(async function createTarArchive(): Promise<void> { await tar.append("dir/tar.ts", { filePath }); // write tar data to a buffer - const writer = new Deno.Buffer(), - wrote = await Deno.copy(writer, tar.getReader()); + const writer = new Deno.Buffer(); + const wrote = await Deno.copy(tar.getReader(), writer); /** * 3072 = 512 (header) + 512 (content) + 512 (header) + 512 (content) |