Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiyan committed Jan 22, 2025
1 parent 5ef65f4 commit dbe632e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions crates/core/src/timeline/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand All @@ -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"));
Expand Down

0 comments on commit dbe632e

Please sign in to comment.