aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/tests.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-10-25 22:05:30 +0000
committerLukas Wirth <[email protected]>2020-10-25 22:05:30 +0000
commitc9af469b85854ec96318b96d7d1fde0935ee4e34 (patch)
treeffd9c15ba01fc180781b70cb31a0f64a398193b9 /crates/ide/src/syntax_highlighting/tests.rs
parent91c1af36120ed9b5ad1da4972ab18d0d042e991f (diff)
Fix unary minus highlighting
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index da20c300e..dd43f9dd9 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -150,6 +150,9 @@ fn main() {
150 150
151 let a = |x| x; 151 let a = |x| x;
152 let bar = Foo::baz; 152 let bar = Foo::baz;
153
154 let baz = -42;
155 let baz = -baz;
153} 156}
154 157
155enum Option<T> { 158enum Option<T> {