summaryrefslogtreecommitdiffstats
path: root/src/utils/dateutil.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/dateutil.rs')
-rw-r--r--src/utils/dateutil.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/dateutil.rs b/src/utils/dateutil.rs
index 2e5d372..eca9a34 100644
--- a/src/utils/dateutil.rs
+++ b/src/utils/dateutil.rs
@@ -83,8 +83,6 @@ pub fn datetime_from_timestamp(timestamp: &str) -> Option<DateTime<Local>> {
mod tests {
use super::*;
- use crate::testdata;
-
#[test]
fn test_date_from_str() {
let date = date_from_str("2018-12-10").unwrap();
@@ -150,8 +148,6 @@ mod tests {
#[test]
fn test_find_local_timezone() {
- testdata::setup();
-
let tz_name = find_local_timezone();
assert_eq!("Europe/Berlin", tz_name);
}