aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r--crates/ra_ide/src/syntax_highlighting/tests.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs
index f19628485..aa7c887d6 100644
--- a/crates/ra_ide/src/syntax_highlighting/tests.rs
+++ b/crates/ra_ide/src/syntax_highlighting/tests.rs
@@ -92,7 +92,7 @@ impl<T> Option<T> {
92} 92}
93"# 93"#
94 .trim(), 94 .trim(),
95 expect_file!["crates/ra_ide/src/snapshots/highlighting.html"], 95 expect_file!["crates/ra_ide/test_data/highlighting.html"],
96 false, 96 false,
97 ); 97 );
98} 98}
@@ -115,7 +115,7 @@ fn bar() {
115} 115}
116"# 116"#
117 .trim(), 117 .trim(),
118 expect_file!["crates/ra_ide/src/snapshots/rainbow_highlighting.html"], 118 expect_file!["crates/ra_ide/test_data/rainbow_highlighting.html"],
119 true, 119 true,
120 ); 120 );
121} 121}
@@ -168,7 +168,7 @@ fn main() {
168 ); 168 );
169}"## 169}"##
170 .trim(), 170 .trim(),
171 expect_file!["crates/ra_ide/src/snapshots/highlight_injection.html"], 171 expect_file!["crates/ra_ide/test_data/highlight_injection.html"],
172 false, 172 false,
173 ); 173 );
174} 174}
@@ -251,7 +251,7 @@ fn main() {
251 println!("{ничоси}", ничоси = 92); 251 println!("{ничоси}", ничоси = 92);
252}"# 252}"#
253 .trim(), 253 .trim(),
254 expect_file!["crates/ra_ide/src/snapshots/highlight_strings.html"], 254 expect_file!["crates/ra_ide/test_data/highlight_strings.html"],
255 false, 255 false,
256 ); 256 );
257} 257}
@@ -279,7 +279,7 @@ fn main() {
279} 279}
280"# 280"#
281 .trim(), 281 .trim(),
282 expect_file!["crates/ra_ide/src/snapshots/highlight_unsafe.html"], 282 expect_file!["crates/ra_ide/test_data/highlight_unsafe.html"],
283 false, 283 false,
284 ); 284 );
285} 285}
@@ -355,7 +355,7 @@ macro_rules! noop {
355} 355}
356"# 356"#
357 .trim(), 357 .trim(),
358 expect_file!["crates/ra_ide/src/snapshots/highlight_doctest.html"], 358 expect_file!["crates/ra_ide/test_data/highlight_doctest.html"],
359 false, 359 false,
360 ); 360 );
361} 361}