Skip to content

Commit

Permalink
Delete lit overflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 26, 2021
1 parent 793b1c3 commit 0ca31d1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_lit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ fn negative() {
assert_eq!("-1.5f64", LitFloat::new("-1.5f64", span).to_string());
}

#[test]
fn negative_overflow() {
assert!(syn::parse_str::<LitFloat>("-1.0e99f64").is_ok());
assert!(syn::parse_str::<LitFloat>("-1.0e999f64").is_err());
}

#[test]
fn suffix() {
fn get_suffix(token: &str) -> String {
Expand Down

0 comments on commit 0ca31d1

Please sign in to comment.