Fix test

Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
Tim Zhang
2020-12-03 17:53:26 +08:00
parent 42ee1bafbd
commit 438d774866
10 changed files with 35 additions and 43 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ fn test_devices_parsing() {
}
let h = cgroups::hierarchies::auto();
let cg = Cgroup::new(&*h, String::from("test_devices_parsing"));
let cg = Cgroup::new(h, String::from("test_devices_parsing"));
{
let devices: &DevicesController = cg.controller_of().unwrap();