From 6a15876fc4127f0fb912385917054dbf478416e6 Mon Sep 17 00:00:00 2001 From: ShuiRuTian <158983297@qq.com> Date: Wed, 13 Jan 2021 00:58:28 +0800 Subject: skip slow tests. --- crates/rust-analyzer/tests/rust-analyzer/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/rust-analyzer/tests/rust-analyzer/main.rs b/crates/rust-analyzer/tests/rust-analyzer/main.rs index 97f06d94c..91e502d8a 100644 --- a/crates/rust-analyzer/tests/rust-analyzer/main.rs +++ b/crates/rust-analyzer/tests/rust-analyzer/main.rs @@ -739,9 +739,10 @@ pub fn foo(_input: TokenStream) -> TokenStream { #[test] fn test_will_rename_files_same_level() { - // if skip_slow_tests() { - // return; - // } + if skip_slow_tests() { + return; + } + let tmp_dir = TestDir::new(); let tmp_dir_path = tmp_dir.path().to_owned(); let tmp_dir_str = tmp_dir_path.to_str().unwrap(); -- cgit v1.2.3