Add issue link and trailing newline

This commit is contained in:
Phil Ellison
2019-07-28 20:25:06 +01:00
parent fe1b1dd7d9
commit 578bc05ca4

View File

@@ -150,6 +150,7 @@ pub fn classify_literal(text: &str) -> Option<Token> {
mod tests {
use super::*;
// https://github.com/rust-analyzer/rust-analyzer/issues/1592
#[test]
fn lex_float_literal() {
assert_eq!(
@@ -157,4 +158,4 @@ mod tests {
Token { kind: FLOAT_NUMBER, len: TextUnit::from_usize(5)}
);
}
}
}