Skip to content

Commit

Permalink
Only run test on windows with clock feature
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker authored and djc committed May 12, 2023
1 parent 386f327 commit 38d9132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ fn test_datetime_sub_assign_local() {
}

#[test]
#[cfg(target_os = "windows")]
#[cfg(all(target_os = "windows", feature = "clock"))]
fn test_from_naive_date_time_windows() {
let min_year = NaiveDate::from_ymd_opt(1601, 1, 3).unwrap().and_hms_opt(0, 0, 0).unwrap();

Expand Down

0 comments on commit 38d9132

Please sign in to comment.