mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-18 20:26:39 -04:00
power: Make test::setup return a Result
This commit is contained in:
parent
0b3a8138e1
commit
53754680c1
3 changed files with 19 additions and 20 deletions
|
@ -518,7 +518,7 @@ mod test {
|
|||
|
||||
drop(f);
|
||||
remove_file(path.join("proc/1/fd/3")).expect("rm");
|
||||
nyield(5).await;
|
||||
nyield(15).await;
|
||||
assert_eq!(
|
||||
read_to_string(sys_base.join("input/input0/inhibited")).expect("inhibited"),
|
||||
"0\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue