Unnamed repository; edit this file 'description' to name the repository.
fix test in resolve_proc_macro: Foo is Owner
bitgaoshu 2022-06-25
parent 900b420 · commit e3b1303
-rw-r--r--crates/rust-analyzer/tests/slow-tests/main.rs2
-rw-r--r--crates/test-utils/src/lib.rs2
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 6d2788d337..884224960f 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 4438a12093..405c4e26f2 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 {