Skip to content

Commit

Permalink
consistent newline in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Feb 1, 2020
1 parent 6e70f13 commit 96abced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/syntax/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,8 @@ mod tests {
assert_eq!(lexer.tokens[1].data, TokenData::Punctuator(Punctuator::Add));
assert_eq!(lexer.tokens[2].data, TokenData::NumericLiteral(1.0));
}
#[test]

#[test]
fn test_addition_no_spaces_left_side() {
let mut lexer = Lexer::new("1+ 1");
lexer.lex().expect("failed to lex");
Expand Down

0 comments on commit 96abced

Please sign in to comment.