Add Attrs::new() test

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-05-14 17:17:14 -04:00
parent ccb12306d4
commit f3680f29ad

View File

@@ -79,8 +79,9 @@ impl Obj for Attrs {
#[test] #[test]
fn test_attrs_new() { fn test_attrs_new() {
/* use crate::mem::BasicGc;
use crate::mem::*;
let mut ctx = ObjCtx::new( let mut ctx = ObjCtx::new(BasicGc::default());
*/
let attrs = Attrs::new(&mut ctx);
} }