提交 2201414a 编写于 作者: B Bartek Iwańczuk 提交者: Ryan Dahl

fix: run missing integration tests (#2997)

上级 045e74bb
args: xeval -d MADAM console.log($);
input: !MADMADAMADAM!
output: tests/043_xeval_delim2.out
args: run --reload --allow-read tests/044_bad_resource.ts
output: tests/044_bad_resource.ts.out
check_stderr: true
exit_code: 1
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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册