aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2019-07-28 20:25:06 +0100
committerPhil Ellison <[email protected]>2019-07-28 20:25:06 +0100
commit578bc05ca41e095c61c64bdef255760c26736a11 (patch)
treea8deb41adb63f7f6ef717d01cdb6746d9c45e770
parentfe1b1dd7d9edde081c4c95facc19e801863beaff (diff)
Add issue link and trailing newline
-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}