summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.md4
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--tests/tests.rs3
4 files changed, 6 insertions, 5 deletions
diff --git a/CHANGES.md b/CHANGES.md
index a2e64be..83a9bb9 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -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
diff --git a/Cargo.lock b/Cargo.lock
index 6773a49..235d3c9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -191,7 +191,7 @@ dependencies = [
[[package]]
name = "two_timer"
-version = "2.2.1"
+version = "2.2.2"
dependencies = [
"chrono",
"lazy_static",
diff --git a/Cargo.toml b/Cargo.toml
index c2e0a11..137b1e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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),
},
}
}