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:
parent
045e74bb39
commit
2201414a7a
4 changed files with 14 additions and 8 deletions
|
@ -1,3 +0,0 @@
|
|||
args: xeval -d MADAM console.log($);
|
||||
input: !MADMADAMADAM!
|
||||
output: tests/043_xeval_delim2.out
|
|
@ -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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue