1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/tests/044_bad_resource.ts
2019-09-10 00:59:40 -04:00

7 lines
143 B
TypeScript

async function main(): Promise<void> {
const file = await Deno.open("Cargo.toml", "r");
file.close();
await file.seek(10, 0);
}
main();