From 9738fb48a68bee087e441f09edfc56bdbd827f35 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 19 Feb 2019 19:51:48 +0300 Subject: remove ignored macro tests we need to significantly reengineer macros, so the tests as they exist are useless --- crates/ra_ide_api/tests/test/main.rs | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'crates/ra_ide_api/tests') diff --git a/crates/ra_ide_api/tests/test/main.rs b/crates/ra_ide_api/tests/test/main.rs index a83fbe07b..ff1a0e46b 100644 --- a/crates/ra_ide_api/tests/test/main.rs +++ b/crates/ra_ide_api/tests/test/main.rs @@ -4,7 +4,7 @@ use ra_ide_api::{ AnalysisChange, CrateGraph, Edition::Edition2018, Query, NavigationTarget, ReferenceSearchResult, }; -use ra_syntax::{TextRange, SmolStr}; +use ra_syntax::SmolStr; #[test] fn test_unresolved_module_diagnostic() { @@ -138,20 +138,3 @@ mod foo { assert_eq!(s.name(), "FooInner"); assert_eq!(s.container_name(), Some(&SmolStr::new("foo"))); } - -#[test] -#[ignore] -fn world_symbols_include_stuff_from_macros() { - let (analysis, _) = single_file( - " -salsa::query_group! { -pub trait HirDatabase: SyntaxDatabase {} -} - ", - ); - - let mut symbols = analysis.symbol_search(Query::new("Hir".into())).unwrap(); - let s = symbols.pop().unwrap(); - assert_eq!(s.name(), "HirDatabase"); - assert_eq!(s.full_range(), TextRange::from_to(33.into(), 44.into())); -} -- cgit v1.2.3