diff --git a/crates/store/src/timestamps.rs b/crates/store/src/timestamps.rs index 75e5129..138fb53 100644 --- a/crates/store/src/timestamps.rs +++ b/crates/store/src/timestamps.rs @@ -36,7 +36,7 @@ pub fn parse_duration(string: &str) -> Result { } #[test] -pub fn test_parse_duration() { +fn test_parse_duration() { assert_eq!(parse_duration("P12W").unwrap(), Duration::weeks(12)); assert_eq!(parse_duration("P12D").unwrap(), Duration::days(12)); assert_eq!(parse_duration("PT12H").unwrap(), Duration::hours(12));