aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/platform/hhvm_detector_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/platform/hhvm_detector_test.rs')
-rw-r--r--crates/shirabe/tests/platform/hhvm_detector_test.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/tests/platform/hhvm_detector_test.rs b/crates/shirabe/tests/platform/hhvm_detector_test.rs
index 72fd68d..5bf96d2 100644
--- a/crates/shirabe/tests/platform/hhvm_detector_test.rs
+++ b/crates/shirabe/tests/platform/hhvm_detector_test.rs
@@ -57,9 +57,7 @@ fn test_hhvm_version_when_executing_in_php() {
"{} --php -d hhvm.jit=0 -r \"echo HHVM_VERSION;\" 2>/dev/null",
ProcessExecutor::escape(&hhvm)
);
- let exit_code = process
- .execute(cmd.as_str(), Some(&mut version), None)
- .unwrap();
+ let exit_code = process.execute(cmd.as_str(), &mut version, None).unwrap();
assert_eq!(0, exit_code);
let version = version