Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
chmp committed Oct 1, 2024
1 parent 8c8bf3f commit 7c936f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion serde_arrow/src/test_with_arrow/impls/jiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ fn transmute_jiff_chrono() {
);

// datetime
let chrono = chrono::NaiveDate::from_ymd_opt(1234, 5, 6).unwrap().and_hms_opt(7, 8, 9).unwrap();
let chrono = chrono::NaiveDate::from_ymd_opt(1234, 5, 6)
.unwrap()
.and_hms_opt(7, 8, 9)
.unwrap();
let jiff = date(1234, 5, 6).at(7, 8, 9, 0);

assert_eq!(value::transmute::<DateTime>(&chrono).unwrap(), jiff);
Expand Down

0 comments on commit 7c936f6

Please sign in to comment.