]> git.lizzy.rs Git - rust.git/commitdiff
skip slow tests.
authorShuiRuTian <158983297@qq.com>
Tue, 12 Jan 2021 16:58:28 +0000 (00:58 +0800)
committerShuiRuTian <158983297@qq.com>
Tue, 12 Jan 2021 16:58:28 +0000 (00:58 +0800)
crates/rust-analyzer/tests/rust-analyzer/main.rs

index 97f06d94c50df91807bb65257ec68fbd2a9c76c5..91e502d8a450cc4cd8459b72f98580f2fdf48ef3 100644 (file)
@@ -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();