fix(ops): circular dependency in deno_ops test (#16809)

This commit is contained in:
Divy Srivastava 2022-11-25 06:47:21 -08:00 committed by GitHub
parent d80af8324d
commit 8fc62f93bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 74 deletions

View file

@ -432,7 +432,7 @@ mod tests {
#[testing_macros::fixture("optimizer_tests/**/*.rs")]
fn test_fast_call_codegen(input: PathBuf) {
let update_expected = std::env::var("UPDATE_EXPECTED").is_ok();
let core = crate::deno::import();
let core = quote!(deno_core);
let source =
std::fs::read_to_string(&input).expect("Failed to read test file");