Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: remzi <13716567376yh@gmail.com>
  • Loading branch information
HaoYang670 committed Sep 2, 2022
1 parent fe726ee commit 92e3c57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/core/tests/sql/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,10 @@ async fn timestamp_add_interval_months() -> Result<()> {
let year = t1_naive.year() + (t1_naive.month() as i32 + 17) / 12;
let month = (t1_naive.month() + 17) % 12;

assert_eq!(t1_naive.with_year(year).unwrap().with_month(month).unwrap(), t2_naive);
assert_eq!(
t1_naive.with_year(year).unwrap().with_month(month).unwrap(),
t2_naive
);
Ok(())
}

Expand Down

0 comments on commit 92e3c57

Please sign in to comment.