aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_syntax/src/parsing/lexer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/lexer.rs b/crates/ra_syntax/src/parsing/lexer.rs
index f75e321c3..45ef88ac0 100644
--- a/crates/ra_syntax/src/parsing/lexer.rs
+++ b/crates/ra_syntax/src/parsing/lexer.rs
@@ -150,6 +150,7 @@ pub fn classify_literal(text: &str) -> Option<Token> {
150mod tests { 150mod tests {
151 use super::*; 151 use super::*;
152 152
153 // https://github.com/rust-analyzer/rust-analyzer/issues/1592
153 #[test] 154 #[test]
154 fn lex_float_literal() { 155 fn lex_float_literal() {
155 assert_eq!( 156 assert_eq!(
@@ -157,4 +158,4 @@ mod tests {
157 Token { kind: FLOAT_NUMBER, len: TextUnit::from_usize(5)} 158 Token { kind: FLOAT_NUMBER, len: TextUnit::from_usize(5)}
158 ); 159 );
159 } 160 }
160} \ No newline at end of file 161}