tests: remove uses of Gc.

This commit is contained in:
Eduard Burtescu
2014-10-02 08:10:09 +03:00
parent aa59693565
commit 58bea31ca0
206 changed files with 322 additions and 3702 deletions

View File

@@ -541,14 +541,6 @@ mod tests {
assert!(y.upgrade().is_none());
}
#[test]
fn gc_inside() {
// see issue #11532
use std::gc::GC;
let a = Rc::new(RefCell::new(box(GC) 1i));
assert!(a.try_borrow_mut().is_some());
}
#[test]
fn weak_self_cyclic() {
struct Cycle {