diff options
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/Cargo.toml | 4 | ||||
-rw-r--r-- | test-suite/build.rs | 9 | ||||
-rw-r--r-- | test-suite/tests/float.rs | 1 | ||||
-rw-r--r-- | test-suite/tests/macros.rs | 1 |
4 files changed, 0 insertions, 15 deletions
diff --git a/test-suite/Cargo.toml b/test-suite/Cargo.toml index 10ffbcb..7c37e29 100644 --- a/test-suite/Cargo.toml +++ b/test-suite/Cargo.toml @@ -2,12 +2,8 @@ name = "toml_test_suite" version = "0.0.0" authors = ["Alex Crichton <alex@alexcrichton.com>"] -build = "build.rs" publish = false -[build-dependencies] -rustc_version = "0.2" - [dev-dependencies] toml = { path = ".." } serde = "1.0" diff --git a/test-suite/build.rs b/test-suite/build.rs deleted file mode 100644 index 5a9a55a..0000000 --- a/test-suite/build.rs +++ /dev/null @@ -1,9 +0,0 @@ -extern crate rustc_version; -use rustc_version::{version, Version}; - -fn main() { - if version().unwrap() >= Version::parse("1.20.0").unwrap() { - println!(r#"cargo:rustc-cfg=feature="test-quoted-keys-in-macro""#); - println!(r#"cargo:rustc-cfg=feature="test-nan-sign""#); - } -} diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs index 6590fe4..1421220 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -72,7 +72,6 @@ sf8 = -0.0 } #[test] -#[cfg(feature = "test-nan-sign")] fn float_inf() { float_inf_tests!(f32); float_inf_tests!(f64); diff --git a/test-suite/tests/macros.rs b/test-suite/tests/macros.rs index 6b77c81..35bf186 100644 --- a/test-suite/tests/macros.rs +++ b/test-suite/tests/macros.rs @@ -279,7 +279,6 @@ fn test_datetime() { // This test requires rustc >= 1.20. #[test] -#[cfg(feature = "test-quoted-keys-in-macro")] fn test_quoted_key() { let actual = toml! { "quoted" = true |