aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-08-28 08:01:50 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-08-28 08:02:08 -0700
commitbe450b70d029dc39959d6462ff2c6c1a504e0c43 (patch)
tree95001587a787b6880b122758b66c220d09ca3088 /test-suite
parentae63d325d25a73dbcb3d996b1307653b57afae88 (diff)
downloadmilf-rs-be450b70d029dc39959d6462ff2c6c1a504e0c43.tar.gz
milf-rs-be450b70d029dc39959d6462ff2c6c1a504e0c43.zip
Work around a rustfmt bug
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/tests/float.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs
index ffa11fa..66414ea 100644
--- a/test-suite/tests/float.rs
+++ b/test-suite/tests/float.rs
@@ -4,6 +4,7 @@ extern crate serde_derive;
use toml::Value;
+#[rustfmt::skip] // appears to be a bug in rustfmt to make this converge...
macro_rules! float_inf_tests {
($ty:ty) => {{
#[derive(Serialize, Deserialize)]
@@ -59,7 +60,7 @@ macro_rules! float_inf_tests {
assert_eq!(
s,
"\
- sf1 = inf
+sf1 = inf
sf2 = inf
sf3 = -inf
sf4 = nan