mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-04 00:54:52 +00:00
Add issue link and trailing newline
This commit is contained in:
parent
fe1b1dd7d9
commit
578bc05ca4
1 changed files with 2 additions and 1 deletions
|
|
@ -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)}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue