From 688bc5177951ce01d22395a1aa8ed7d43d23d73e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 26 Mar 2023 00:28:29 -0400 Subject: bump deps --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 328dc8a..708c907 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,4 @@ extern crate chrono; -#[macro_use] extern crate clap; extern crate git2; extern crate hostname; @@ -50,7 +49,9 @@ mod tests { home: Some(std::path::PathBuf::from("/home/doy")), user: Some(String::from("doy")), is_root: false, - time: chrono::Local.ymd(2018, 5, 14).and_hms(17, 35, 45), + time: chrono::Local + .with_ymd_and_hms(2018, 5, 14, 17, 35, 45) + .unwrap(), power_info: power::PowerInfo::new(), vcs_info: None, }; -- cgit v1.2.3-54-g00ecf