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/io/writers_test.ts | |
parent | 833539fcafa77f341b74498b37372a61c5f10418 (diff) |
BREAKING CHANGE: change order of args in Deno.copy() (#4885)
Diffstat (limited to 'std/io/writers_test.ts')
-rw-r--r-- | std/io/writers_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/writers_test.ts b/std/io/writers_test.ts index 916ad043e..96dc044ae 100644 --- a/std/io/writers_test.ts +++ b/std/io/writers_test.ts @@ -9,6 +9,6 @@ test(async function ioStringWriter(): Promise<void> { const r = new StringReader("0123456789"); await copyN(w, r, 4); assertEquals(w.toString(), "base0123"); - await copy(w, r); + await copy(r, w); assertEquals(w.toString(), "base0123456789"); }); |