From 633d37bc9721a6be0110346d13e99d01026cce70 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 25 Sep 2018 19:41:10 -0700 Subject: [PATCH] Fix invalid TOML test for updated 'toml' dependency. --- core/lib/Cargo.toml | 2 +- core/lib/src/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 6b11efd0..e32a8724 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -22,7 +22,7 @@ rocket_codegen_next = { version = "0.4.0-dev", path = "../codegen_next" } rocket_http = { version = "0.4.0-dev", path = "../http" } yansi = "0.4" log = "0.4" -toml = "0.4.2" +toml = "0.4.7" num_cpus = "1.0" state = "0.4.1" time = "0.1" diff --git a/core/lib/src/config/mod.rs b/core/lib/src/config/mod.rs index c8223c2d..9f289ac6 100644 --- a/core/lib/src/config/mod.rs +++ b/core/lib/src/config/mod.rs @@ -1085,7 +1085,7 @@ mod test { assert!(RocketConfig::parse(r#" [dev] - 1.2.3 = 2 + 1. = 2 "#.to_string(), TEST_CONFIG_FILENAME).is_err()); assert!(RocketConfig::parse(r#"