From 0d060b073ce965511e3c794c4b6e70f69d14d2ff Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 11 Feb 2019 22:24:39 +0300 Subject: remove hard-coded query-group macro --- crates/ra_ide_api/src/syntax_highlighting.rs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'crates/ra_ide_api/src/syntax_highlighting.rs') diff --git a/crates/ra_ide_api/src/syntax_highlighting.rs b/crates/ra_ide_api/src/syntax_highlighting.rs index a435fe56e..345b6653d 100644 --- a/crates/ra_ide_api/src/syntax_highlighting.rs +++ b/crates/ra_ide_api/src/syntax_highlighting.rs @@ -41,19 +41,4 @@ mod tests { let highlights = analysis.highlight(file_id).unwrap(); assert_debug_snapshot_matches!("highlights_code_inside_macros", &highlights); } - - // FIXME: this test is not really necessary: artifact of the inital hacky - // macros implementation. - #[test] - fn highlight_query_group_macro() { - let (analysis, file_id) = single_file( - " - salsa::query_group! { - pub trait HirDatabase: SyntaxDatabase {} - } - ", - ); - let highlights = analysis.highlight(file_id).unwrap(); - assert_debug_snapshot_matches!("highlight_query_group_macro", &highlights); - } } -- cgit v1.2.3