1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

fix: run missing integration tests (#2997)

This commit is contained in:
Bartek Iwańczuk 2019-09-24 16:46:57 +02:00 committed by Ryan Dahl
parent 045e74bb39
commit 2201414a7a
4 changed files with 14 additions and 8 deletions

View file

@ -1,3 +0,0 @@
args: xeval -d MADAM console.log($);
input: !MADMADAMADAM!
output: tests/043_xeval_delim2.out

View file

@ -1,4 +0,0 @@
args: run --reload --allow-read tests/044_bad_resource.ts
output: tests/044_bad_resource.ts.out
check_stderr: true
exit_code: 1

View file

@ -1,5 +1,5 @@
async function main(): Promise<void> {
const file = await Deno.open("Cargo.toml", "r");
const file = await Deno.open("044_bad_resource.ts", "r");
file.close();
await file.seek(10, 0);
}

View file

@ -304,6 +304,19 @@ itest!(_042_dyn_import_evalcontext {
output: "042_dyn_import_evalcontext.ts.out",
});
itest!(_043_xeval_delim2 {
args: "xeval -d MADAM console.log($)",
input: Some("!MADMADAMADAM!"),
output: "043_xeval_delim2.out",
});
itest!(_044_bad_resource {
args: "run --reload --allow-read 044_bad_resource.ts",
output: "044_bad_resource.ts.out",
check_stderr: true,
exit_code: 1,
});
itest!(async_error {
exit_code: 1,
args: "run --reload async_error.ts",