Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Dec 23, 2019
1 parent 47e319d commit 20d5c1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -905,13 +905,13 @@ fn module_evaluation() {
specifier: v8::Local<v8::String>,
_referrer: v8::Local<v8::Module>,
) -> Option<*mut v8::Module> {
let isolate: &mut v8::Isolate = context.as_mut();
let isolate_: &mut v8::Isolate = context.as_mut();
let module_ = {
let mut escapable_scope = v8::EscapableHandleScope::new(isolate);
let origin = mock_script_origin(isolate, "module.js");
let mut escapable_scope = v8::EscapableHandleScope::new(isolate_);
let origin = mock_script_origin(isolate_, "module.js");
let source = v8::script_compiler::Source::new(specifier, &origin);
let module = v8::script_compiler::compile_module(
isolate,
isolate_,
source,
v8::script_compiler::CompileOptions::NoCompileOptions,
v8::script_compiler::NoCacheReason::NoReason,
Expand Down

0 comments on commit 20d5c1d

Please sign in to comment.