From c692b5d76d7a9c01643f1f4be3fa8c777a9b0adb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 28 Aug 2020 14:47:14 +0200 Subject: :arrow_up: expect-test --- .../test_data/rainbow_highlighting.html | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 crates/ide/src/syntax_highlighting/test_data/rainbow_highlighting.html (limited to 'crates/ide/src/syntax_highlighting/test_data/rainbow_highlighting.html') diff --git a/crates/ide/src/syntax_highlighting/test_data/rainbow_highlighting.html b/crates/ide/src/syntax_highlighting/test_data/rainbow_highlighting.html new file mode 100644 index 000000000..401e87a73 --- /dev/null +++ b/crates/ide/src/syntax_highlighting/test_data/rainbow_highlighting.html @@ -0,0 +1,49 @@ + + +
fn main() {
+    let hello = "hello";
+    let x = hello.to_string();
+    let y = hello.to_string();
+
+    let x = "other color please!";
+    let y = x.to_string();
+}
+
+fn bar() {
+    let mut hello = "hello";
+}
\ No newline at end of file -- cgit v1.2.3