From dbe632e173dc14257988ed040a75735faf72d255 Mon Sep 17 00:00:00 2001 From: Shiyan Xu <2701446+xushiyan@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:15:55 -0600 Subject: [PATCH] fix style --- crates/core/src/timeline/selector.rs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/crates/core/src/timeline/selector.rs b/crates/core/src/timeline/selector.rs index 0403ef6..3799f64 100644 --- a/crates/core/src/timeline/selector.rs +++ b/crates/core/src/timeline/selector.rs @@ -329,11 +329,7 @@ mod tests { #[test] fn test_within() { - let range = InstantRange::within( - "20240101000000000", - "20241231235959999", - "UTC" - ); + let range = InstantRange::within("20240101000000000", "20241231235959999", "UTC"); assert_eq!(range.timezone(), "UTC"); assert_eq!(range.start_timestamp.as_deref(), Some("20240101000000000")); @@ -344,11 +340,8 @@ mod tests { #[test] fn test_within_open_closed() { - let range = InstantRange::within_open_closed( - "20240101000000000", - "20241231235959999", - "UTC" - ); + let range = + InstantRange::within_open_closed("20240101000000000", "20241231235959999", "UTC"); assert_eq!(range.timezone(), "UTC"); assert_eq!(range.start_timestamp.as_deref(), Some("20240101000000000"));