mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-10 00:20:29 -04:00
Run cargo fmt
This commit is contained in:
parent
485ee209e2
commit
ecb6026370
1 changed files with 6 additions and 2 deletions
|
@ -188,7 +188,9 @@ mod test {
|
||||||
let _handle = testing::start();
|
let _handle = testing::start();
|
||||||
let exe_path = path("exe");
|
let exe_path = path("exe");
|
||||||
write(&exe_path, "").await.unwrap();
|
write(&exe_path, "").await.unwrap();
|
||||||
set_permissions(&exe_path, PermissionsExt::from_mode(0o600)).await.unwrap();
|
set_permissions(&exe_path, PermissionsExt::from_mode(0o600))
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
assert!(!ScriptConfig {
|
assert!(!ScriptConfig {
|
||||||
script: exe_path,
|
script: exe_path,
|
||||||
|
@ -204,7 +206,9 @@ mod test {
|
||||||
let _handle = testing::start();
|
let _handle = testing::start();
|
||||||
let exe_path = path("exe");
|
let exe_path = path("exe");
|
||||||
write(&exe_path, "").await.unwrap();
|
write(&exe_path, "").await.unwrap();
|
||||||
set_permissions(&exe_path, PermissionsExt::from_mode(0o700)).await.unwrap();
|
set_permissions(&exe_path, PermissionsExt::from_mode(0o700))
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
assert!(ScriptConfig {
|
assert!(ScriptConfig {
|
||||||
script: exe_path,
|
script: exe_path,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue