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 fa81741..4f4db16 100644 --- a/test-suite/Cargo.toml +++ b/test-suite/Cargo.toml @@ -2,13 +2,9 @@ name = "toml_test_suite" version = "0.0.0" authors = ["Alex Crichton <alex@alexcrichton.com>"] -build = "build.rs" publish = false edition = "2018" -[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 5ce99c8..c07d027 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -75,7 +75,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 db94549..20831a0 100644 --- a/test-suite/tests/macros.rs +++ b/test-suite/tests/macros.rs @@ -283,7 +283,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 |