From b40d5e5e0b44187737651d155d2e67fcc26f14e8 Mon Sep 17 00:00:00 2001 From: Anonymous <65428781+00ff0000red@users.noreply.github.com> Date: Thu, 7 Jan 2021 07:50:57 -0800 Subject: ignore "use asm" (#9019) Preventing V8 from logging erroneous line numbers. Use wasm. --- cli/tests/integration_tests.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index cd222f0b4..68cfe0b50 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3521,6 +3521,23 @@ itest!(inline_js_source_map_with_contents_from_graph { http_server: true, }); +#[test] +fn no_validate_asm() { + let output = util::deno_cmd() + .current_dir(util::root_path()) + .arg("run") + .arg("cli/tests/no_validate_asm.js") + .stderr(std::process::Stdio::piped()) + .stdout(std::process::Stdio::piped()) + .spawn() + .unwrap() + .wait_with_output() + .unwrap(); + assert!(output.status.success()); + assert!(output.stderr.is_empty()); + assert!(output.stdout.is_empty()); +} + #[test] fn cafile_env_fetch() { use deno_core::url::Url; -- cgit v1.2.3