Skip to content

Commit 5607760

Browse files
committed
Follow the styling guide
1 parent d7423f1 commit 5607760

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/libtest/lib.rs

+10-2
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,16 @@ pub fn run_test(
17631763
let runtest = move || {
17641764
match opts.strategy {
17651765
RunStrategy::InProcess =>
1766-
run_test_in_process(desc, opts.nocapture, opts.time.is_some(), testfn, monitor_ch, opts.time),
1767-
RunStrategy::SpawnPrimary => spawn_test_subprocess(desc, opts.time.is_some(), monitor_ch, opts.time),
1766+
run_test_in_process(
1767+
desc,
1768+
opts.nocapture,
1769+
opts.time.is_some(),
1770+
testfn,
1771+
monitor_ch,
1772+
opts.time
1773+
),
1774+
RunStrategy::SpawnPrimary =>
1775+
spawn_test_subprocess(desc, opts.time.is_some(), monitor_ch, opts.time),
17681776
}
17691777
};
17701778

0 commit comments

Comments
 (0)