Skip to content

Commit

Permalink
add test_issue_866
Browse files Browse the repository at this point in the history
Add single test case specific to Issue #866
  • Loading branch information
jtmoon79 authored and djc committed May 22, 2023
1 parent cb27ebf commit bf9f876
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/offset/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,12 @@ mod tests {
);
}
}

/// Test Issue #866
#[test]
fn test_issue_866() {
#[allow(deprecated)]
let local_20221106 = Local.ymd(2022, 11, 6);
let _dt_20221106 = local_20221106.and_hms_milli_opt(1, 2, 59, 1000).unwrap();
}
}

0 comments on commit bf9f876

Please sign in to comment.