Skip to content

Commit

Permalink
Merge pull request #73 from cakebaker/ci_use_clippy_all_targets
Browse files Browse the repository at this point in the history
ci: use `clippy --all-targets`
  • Loading branch information
sylvestre authored May 3, 2024
2 parents acf9b9c + fc14854 commit 1389991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
- run: cargo clippy --all-targets -- -D warnings

coverage:
name: Code Coverage
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ mod tests {
#[test]
fn test_time_only() {
env::set_var("TZ", "UTC");
let test_date = Local.with_ymd_and_hms(2024, 03, 03, 0, 0, 0).unwrap();
let test_date = Local.with_ymd_and_hms(2024, 3, 3, 0, 0, 0).unwrap();
let parsed_time = parse_datetime_at_date(test_date, "9:04:30 PM +0530")
.unwrap()
.timestamp();
Expand Down

0 comments on commit 1389991

Please sign in to comment.