Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit b50cccf

Browse files
committed
[#411] merge test functions
1 parent f1ee669 commit b50cccf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/rooting.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,7 @@ fn rooting() {
4747
&CLASS as *const _,
4848
prototype_proto.handle().into()));
4949
define_methods(cx, proto.handle(), METHODS).unwrap();
50-
}
51-
}
52-
53-
#[test]
54-
fn type_rooting() {
55-
let runtime = Runtime::new().unwrap();
56-
let cx = runtime.cx();
5750

58-
unsafe{
5951
rooted!(in(cx) let root : JSVal);
6052
assert_eq!(root.get().is_undefined(), true);
6153

0 commit comments

Comments
 (0)