diff options
author | Luciano Bestia <[email protected]> | 2021-02-13 16:50:52 +0000 |
---|---|---|
committer | Luciano Bestia <[email protected]> | 2021-02-13 16:50:52 +0000 |
commit | a28f9545e18918b68b5c07e0231f2af219a15bb7 (patch) | |
tree | e30e2111d8c5872394ee29c48e75e369180b05f7 /crates/ide/src | |
parent | 75015b6eaaad6cb6ce511cff2f3f1e5e34450106 (diff) |
removed logging stuff
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/folding_ranges.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/ide/src/folding_ranges.rs b/crates/ide/src/folding_ranges.rs index 531f3c951..4b1b24562 100644 --- a/crates/ide/src/folding_ranges.rs +++ b/crates/ide/src/folding_ranges.rs | |||
@@ -447,9 +447,6 @@ fn foo<fold arglist>( | |||
447 | 447 | ||
448 | #[test] | 448 | #[test] |
449 | fn fold_region() { | 449 | fn fold_region() { |
450 | log_init_for_test_debug(); | ||
451 | // only error level log is printed on the terminal | ||
452 | log::error!("test fold_region"); | ||
453 | check( | 450 | check( |
454 | r#" | 451 | r#" |
455 | // 1. some normal comment | 452 | // 1. some normal comment |
@@ -460,8 +457,4 @@ calling_function(x,y); | |||
460 | "#, | 457 | "#, |
461 | ) | 458 | ) |
462 | } | 459 | } |
463 | |||
464 | fn log_init_for_test_debug() { | ||
465 | let _ = env_logger::builder().is_test(true).try_init(); | ||
466 | } | ||
467 | } | 460 | } |