chore: move test files to testdata directory (#11601)

This commit is contained in:
David Sherret 2021-08-11 10:20:47 -04:00 committed by GitHub
parent a0285e2eb8
commit 15a763152f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1089 changed files with 1150 additions and 1160 deletions

10
cli/tests/testdata/cat.ts vendored Normal file
View file

@ -0,0 +1,10 @@
import { copy } from "../../../test_util/std/io/util.ts";
async function main() {
for (let i = 1; i < Deno.args.length; i++) {
const filename = Deno.args[i];
const file = await Deno.open(filename);
await copy(file, Deno.stdout);
}
}
main();