Skip to content

Commit d5e2b27

Browse files
committed
fix: use new scopes API
1 parent 761b84d commit d5e2b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/runtime/tests/misc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ async fn generic_in_extension_middleware() {
11721172
.unwrap();
11731173

11741174
// Check the result
1175-
let scope = &mut runtime.handle_scope();
1175+
deno_core::scope!(scope, &mut runtime);
11761176
let value = value_global.open(scope);
11771177

11781178
let result = value.to_rust_string_lossy(scope);

0 commit comments

Comments
 (0)