aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/invalid-encoder-misc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests/invalid-encoder-misc.rs')
-rw-r--r--test-suite/tests/invalid-encoder-misc.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/test-suite/tests/invalid-encoder-misc.rs b/test-suite/tests/invalid-encoder-misc.rs
deleted file mode 100644
index 272f58f..0000000
--- a/test-suite/tests/invalid-encoder-misc.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-extern crate toml;
-
-use std::f64;
-
-#[test]
-fn test_invalid_float_encode() {
- fn bad(value: toml::Value) {
- assert!(toml::to_string(&value).is_err());
- }
-
- bad(toml::Value::Float(f64::INFINITY));
- bad(toml::Value::Float(f64::NEG_INFINITY));
- bad(toml::Value::Float(f64::NAN));
-}