Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index 59e7a66f6e..b7510e3aba 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -1516,8 +1516,10 @@ fn main() {
fn test_deprecated_highlighting() {
check_highlighting(
r#"
+//- /foo.rs crate:foo deps:bar
#![deprecated]
use crate as _;
+extern crate bar;
#[deprecated]
macro_rules! macro_ {
() => {};
@@ -1544,6 +1546,8 @@ trait Trait {}
type Alias = ();
#[deprecated]
static STATIC: () = ();
+//- /bar.rs crate:bar
+#![deprecated]
"#,
expect_file!["./test_data/highlight_deprecated.html"],
false,