Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jan 9, 2024
1 parent dc505fa commit d063962
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/runtime/tests/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ async fn aggregate_error() {
await Promise.any([]);
})()
"#;
let value_global = runtime.execute_script_static("test_aggregate_error.js", src).unwrap();
let value_global = runtime
.execute_script_static("test_aggregate_error.js", src)
.unwrap();
let resolve = runtime.resolve(value_global);
let e = runtime
.with_event_loop_promise(resolve, PollEventLoopOptions::default())
Expand All @@ -147,7 +149,9 @@ async fn aggregate_error_destructure() {
}
})()
"#;
let value_global = runtime.execute_script_static("test_aggregate_error_destructure.js", src).unwrap();
let value_global = runtime
.execute_script_static("test_aggregate_error_destructure.js", src)
.unwrap();
let resolve = runtime.resolve(value_global);
let out = runtime
.with_event_loop_promise(resolve, PollEventLoopOptions::default())
Expand Down

0 comments on commit d063962

Please sign in to comment.