Skip to content

Commit

Permalink
Add test parsing -0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 14, 2021
1 parent b419f2e commit f5219be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ fn test_parse_u64() {
#[test]
fn test_parse_negative_zero() {
for negative_zero in &[
"-0",
"-0.0",
"-0e2",
"-0.0e2",
Expand Down

0 comments on commit f5219be

Please sign in to comment.