diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-26 00:28:29 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-26 00:28:29 -0400 |
commit | 688bc5177951ce01d22395a1aa8ed7d43d23d73e (patch) | |
tree | 9cb40d5a5d60a8c8d4be1fe091c2cab6fc3a35f8 /src/main.rs | |
parent | 6f19f96053db7475e2376c9dd3179c4dd2264df8 (diff) | |
download | fancy-prompt-688bc5177951ce01d22395a1aa8ed7d43d23d73e.tar.gz fancy-prompt-688bc5177951ce01d22395a1aa8ed7d43d23d73e.zip |
bump deps
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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, }; |