summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordfhoughton <dfhoughton@gmail.com>2021-07-03 08:25:04 -0400
committerdfhoughton <dfhoughton@gmail.com>2021-07-03 08:25:04 -0400
commit520ad1478675288d2ebd1bbfc1fdbe66c41e2b55 (patch)
tree9643a308ec9495f5e5df0673a403eac0f4b145cc /tests
parentae58b2c4e2641ba78495a315098c78a5f72e247e (diff)
downloadtwo-timer-520ad1478675288d2ebd1bbfc1fdbe66c41e2b55.zip
slight modernizationHEADmaster
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.rs3
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),
},
}
}