Skip to content

Commit bcf948b

Browse files
author
Erik Kaneda
committed
fix formatting
1 parent 23be2c6 commit bcf948b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/test/src/console.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ pub fn run_tests_console(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> io::Resu
323323
// Prevent the usage of `Instant` in some cases:
324324
// - It's currently not supported for wasm targets.
325325
// - We disable it for miri because it's not available when isolation is enabled.
326-
let is_instant_supported = !cfg!(target_family = "wasm") && !cfg!(target_os = "zkvm") && !cfg!(miri);
326+
let is_instant_supported =
327+
!cfg!(target_family = "wasm") && !cfg!(target_os = "zkvm") && !cfg!(miri);
327328

328329
let start_time = is_instant_supported.then(Instant::now);
329330
run_tests(opts, tests, |x| on_test_event(&x, &mut st, &mut *out))?;

0 commit comments

Comments
 (0)