diff options
-rw-r--r-- | CHANGES.md | 4 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | tests/tests.rs | 3 |
4 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,8 @@ # Change Log -## 2.2.1 *2020-3-29* +## 2.2.2 *2021-7-3* +* slight modernization +## 2.2.1 *2021-3-29* * changing the license from GPL 2 to MIT ## 2.2.0 *2020-10-3* * adding `default_to_past` configuration parameter to allow people to interpret relative times like "Tuesday" as the nearest such moment in the future rather than the past @@ -191,7 +191,7 @@ dependencies = [ [[package]] name = "two_timer" -version = "2.2.1" +version = "2.2.2" dependencies = [ "chrono", "lazy_static", @@ -1,6 +1,6 @@ [package] name = "two_timer" -version = "2.2.1" +version = "2.2.2" authors = ["dfhoughton <dfhoughton@gmail.com>"] description="parser for English time expressions" homepage="https://github.com/dfhoughton/two-timer" diff --git a/tests/tests.rs b/tests/tests.rs index f33eeb5..a2852d8 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,4 +1,3 @@ -#![feature(test)] extern crate two_timer; use two_timer::{parsable, parse, Config, TimeError}; extern crate chrono; @@ -1830,7 +1829,7 @@ fn since_the_end_of_may_misordered() { Ok((..)) => assert!(false, "this should not succeed"), Err(e) => match e { TimeError::Misordered(_) => assert!(true, "correct error"), - _ => assert!(false, format!("unexpected error: {:?}", e)), + _ => assert!(false, "unexpected error: {:?}", e), }, } } |