diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-08-28 07:58:15 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2019-08-28 07:58:15 -0700 |
commit | 5457ef4ee7e81880b4c24cdceed4c354e1c2c287 (patch) | |
tree | 9d510e23a1ffbd832b391c3c8bdfd2626e1ed483 /test-suite | |
parent | 677ccfa9402fc7e03c2ce89fbfef0cc0bad04d52 (diff) | |
download | milf-rs-5457ef4ee7e81880b4c24cdceed4c354e1c2c287.tar.gz milf-rs-5457ef4ee7e81880b4c24cdceed4c354e1c2c287.zip |
Run rustfmt
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/tests/de-errors.rs | 21 | ||||
-rw-r--r-- | test-suite/tests/float.rs | 2 |
2 files changed, 11 insertions, 12 deletions
diff --git a/test-suite/tests/de-errors.rs b/test-suite/tests/de-errors.rs index 5005313..7666489 100644 --- a/test-suite/tests/de-errors.rs +++ b/test-suite/tests/de-errors.rs @@ -328,11 +328,11 @@ fn serde_derive_deserialize_errors() { fn error_handles_crlf() { bad!( "\r\n\ - [t1]\r\n\ - [t2]\r\n\ - a = 1\r\n\ - a = 2\r\n\ - ", + [t1]\r\n\ + [t2]\r\n\ + a = 1\r\n\ + a = 2\r\n\ + ", toml::Value, "duplicate key: `a` for key `t2` at line 3 column 1" ); @@ -340,13 +340,12 @@ fn error_handles_crlf() { // Should be the same as above. bad!( "\n\ - [t1]\n\ - [t2]\n\ - a = 1\n\ - a = 2\n\ - ", + [t1]\n\ + [t2]\n\ + a = 1\n\ + a = 2\n\ + ", toml::Value, "duplicate key: `a` for key `t2` at line 3 column 1" ); - } diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs index 4eb3070..c1f5914 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -59,7 +59,7 @@ macro_rules! float_inf_tests { assert_eq!( s, "\ - sf1 = inf + sf1 = inf sf2 = inf sf3 = -inf sf4 = nan |