]> git.lizzy.rs Git - rust.git/commitdiff
Follow the styling guide
authorIgor Aleksanov <popzxc@yandex.ru>
Wed, 9 Oct 2019 07:29:20 +0000 (10:29 +0300)
committerIgor Aleksanov <popzxc@yandex.ru>
Wed, 9 Oct 2019 07:29:20 +0000 (10:29 +0300)
src/libtest/lib.rs

index 60bd088ea427d2b60c6d3aebbeb8ebc9921e1bbe..26766f401ad272ffb9a56068ca74e03707a96827 100644 (file)
@@ -1763,8 +1763,16 @@ fn run_test_inner(
         let runtest = move || {
             match opts.strategy {
                 RunStrategy::InProcess =>
-                    run_test_in_process(desc, opts.nocapture, opts.time.is_some(), testfn, monitor_ch, opts.time),
-                RunStrategy::SpawnPrimary => spawn_test_subprocess(desc, opts.time.is_some(), monitor_ch, opts.time),
+                    run_test_in_process(
+                        desc,
+                        opts.nocapture,
+                        opts.time.is_some(),
+                        testfn,
+                        monitor_ch,
+                        opts.time
+                    ),
+                RunStrategy::SpawnPrimary =>
+                    spawn_test_subprocess(desc, opts.time.is_some(), monitor_ch, opts.time),
             }
         };