From e3b1303c4f44060892653e319ca18a16e179f059 Mon Sep 17 00:00:00 2001 From: bitgaoshu Date: Sat, 25 Jun 2022 01:02:39 +0800 Subject: [PATCH] fix test in resolve_proc_macro: Foo is Owner --- crates/rust-analyzer/tests/slow-tests/main.rs | 2 +- crates/test-utils/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/rust-analyzer/tests/slow-tests/main.rs b/crates/rust-analyzer/tests/slow-tests/main.rs index 6d2788d337d..884224960f5 100644 --- a/crates/rust-analyzer/tests/slow-tests/main.rs +++ b/crates/rust-analyzer/tests/slow-tests/main.rs @@ -919,7 +919,7 @@ pub fn foo(_input: TokenStream) -> TokenStream { expect![[r#" ```rust - foo::Bar + foo::Foo ``` ```rust diff --git a/crates/test-utils/src/lib.rs b/crates/test-utils/src/lib.rs index 4438a12093a..405c4e26f2d 100644 --- a/crates/test-utils/src/lib.rs +++ b/crates/test-utils/src/lib.rs @@ -389,7 +389,7 @@ fn main() { /// also creates a file at `./target/.slow_tests_cookie` which serves as a flag /// that slow tests did run. pub fn skip_slow_tests() -> bool { - let should_skip = std::env::var("CI").is_err() && std::env::var("RUN_SLOW_TESTS").is_err(); + let should_skip = std::env::var("RUN_SLOW_TESTS").is_err(); if should_skip { eprintln!("ignoring slow test"); } else {