mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
style: 自动格式化
This commit is contained in:
@@ -858,16 +858,8 @@ mod tests {
|
||||
}
|
||||
std::thread::sleep(Duration::from_millis(10));
|
||||
}
|
||||
assert_eq!(
|
||||
global_value_opt(&vm, "isEE"),
|
||||
Some(JsValue::bool(true)),
|
||||
"事件应 instanceof ErrorEvent"
|
||||
);
|
||||
assert_eq!(
|
||||
global_value_opt(&vm, "isE"),
|
||||
Some(JsValue::bool(true)),
|
||||
"事件应 instanceof Event"
|
||||
);
|
||||
assert_eq!(global_value_opt(&vm, "isEE"), Some(JsValue::bool(true)), "事件应 instanceof ErrorEvent");
|
||||
assert_eq!(global_value_opt(&vm, "isE"), Some(JsValue::bool(true)), "事件应 instanceof Event");
|
||||
|
||||
vm.shutdown_workers();
|
||||
let _ = std::fs::remove_file(&worker_path);
|
||||
|
||||
Reference in New Issue
Block a user