Commit 6a4cbfc7 authored by Alexis Janon's avatar Alexis Janon
Browse files

Fixed type in the latest transaction tests added

Replace slice name constant with the expected one.
parent b5bb8cce
......@@ -224,7 +224,7 @@ fn test_spawn_cpuset() {
.values()
.map(SysFsController::get_path)
.map(path::Path::to_path_buf)
.map(|path| path.join(MODIFY_NAME))
.map(|path| path.join(SPAWN_CPUSET_NAME))
.collect::<Vec<_>>();
let mut commands = parsing::parse_json(&json, controllers).unwrap();
assert!(commands.exec().is_ok());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment