mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
Fix warnings in tests
Remove following warnings - unused import - unused Result Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
+2
-2
@@ -30,7 +30,7 @@ fn test_disable_oom_killer() {
|
||||
assert_eq!(m.oom_control.oom_kill_disable, true);
|
||||
}
|
||||
}
|
||||
cg.delete();
|
||||
cg.delete().unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -87,5 +87,5 @@ fn set_mem_v2() {
|
||||
assert_eq!(m.high, Some(MaxValue::Max));
|
||||
}
|
||||
|
||||
cg.delete();
|
||||
cg.delete().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user