diff options
author | dfhoughton <dfhoughton@gmail.com> | 2021-07-03 08:25:04 -0400 |
---|---|---|
committer | dfhoughton <dfhoughton@gmail.com> | 2021-07-03 08:25:04 -0400 |
commit | 520ad1478675288d2ebd1bbfc1fdbe66c41e2b55 (patch) | |
tree | 9643a308ec9495f5e5df0673a403eac0f4b145cc /tests | |
parent | ae58b2c4e2641ba78495a315098c78a5f72e247e (diff) | |
download | two-timer-520ad1478675288d2ebd1bbfc1fdbe66c41e2b55.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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), }, } } |