diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-05-09 06:49:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 06:49:11 -0700 |
commit | e887edc70f0341cfbf37f646b6213d6fb6e00439 (patch) | |
tree | 63e2a9104a1c0ed297edd2ae41bd4536fde2ce0d /test-suite/tests/float.rs | |
parent | 320464be3b014deaaf9387583862b1d4a69d89f8 (diff) | |
parent | 0fca4dd2d30a2044af454cf55211e67cf76f333c (diff) | |
download | milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.tar.gz milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.zip |
Merge pull request #308 from ehuss/edition-2018
Migrate to 2018 edition
Diffstat (limited to 'test-suite/tests/float.rs')
-rw-r--r-- | test-suite/tests/float.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs index 1421220..c07d027 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -32,7 +32,9 @@ macro_rules! float_inf_tests { # zero sf7 = +0.0 sf8 = -0.0 - ").expect("Parse infinities."); + ", + ) + .expect("Parse infinities."); assert!(inf.sf1.is_infinite()); assert!(inf.sf1.is_sign_positive()); @@ -55,8 +57,9 @@ macro_rules! float_inf_tests { let s = toml::to_string(&inf).unwrap(); assert_eq!( - s, "\ -sf1 = inf + s, + "\ + sf1 = inf sf2 = inf sf3 = -inf sf4 = nan |