From 66f533a2106065071feb704096f86dff48cd3295 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Wed, 15 May 2024 22:27:16 -0400 Subject: [PATCH] okeydoke --- pttodoer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pttodoer/src/main.rs b/pttodoer/src/main.rs index d625f7f..915b913 100644 --- a/pttodoer/src/main.rs +++ b/pttodoer/src/main.rs @@ -75,7 +75,7 @@ mod test_when { fn parse() { match When::new("1d2h3m".to_string()) { Ok(when) => { - assert!(false, "not impl: {:?}", when); + assert_eq!(1714521600 + 60*3 + 60*60*2 + 60*60*24*1, when.next(TS::new("2024-05-01T00").unwrap())); }, Err(err) => assert!(false, "failed to parse when: {}", err), };