summary refs log tree commit diff
path: root/tests/plugins.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins.rs')
-rw-r--r--tests/plugins.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/plugins.rs b/tests/plugins.rs
index 27bbc47..20adcab 100644
--- a/tests/plugins.rs
+++ b/tests/plugins.rs
@@ -36,7 +36,8 @@ fn get_target_path() -> PathBuf {
         .map(|mut path| {
             path.pop();
             path
-        }).expect("failed to get crosvm binary directory")
+        })
+        .expect("failed to get crosvm binary directory")
 }
 
 fn get_crosvm_path() -> PathBuf {
@@ -48,7 +49,8 @@ fn get_crosvm_path() -> PathBuf {
                 path.pop();
             }
             path
-        }).expect("failed to get crosvm binary directory")
+        })
+        .expect("failed to get crosvm binary directory")
 }
 
 fn build_plugin(src: &str) -> RemovePath {
@@ -98,7 +100,8 @@ fn run_plugin(bin_path: &Path, with_sandbox: bool) {
         "--seccomp-policy-dir",
         "tests",
         "--plugin",
-    ]).arg(
+    ])
+    .arg(
         bin_path
             .canonicalize()
             .expect("failed to canonicalize plugin path"),