mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #283] [MERGED] Fix clippy suggestions for tests #372
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#372
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/283
Author: @marioortizmanero
Created: 11/19/2021
Status: ✅ Merged
Merged: 11/20/2021
Merged by: @ramsayleung
Base:
fix-optional← Head:fix-clippy📝 Commits (5)
d3341cfFix unnecessary references in tests3f93374Fix floating point comparisonscc2b57aFormatting8b8b1afFix one last warningc253c17Tidy up example📊 Changes
7 files changed (+47 additions, -50 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -1)📝
examples/with_auto_reauth.rs(+13 -13)📝
rspotify-macros/src/lib.rs(+1 -1)📝
rspotify-model/src/device.rs(+1 -1)📝
tests/test_models.rs(+22 -20)📝
tests/test_oauth2.rs(+1 -1)📝
tests/test_with_oauth.rs(+8 -13)📄 Description
Description
Turns out we needed
--all-targetsin our clippy CI in order to run it for the tests as well. This has been fixed, and all the suggested improvements have been applied.Motivation and Context
See bevy's CI: https://github.com/bevyengine/bevy/blob/main/tools/ci/src/main.rs#L16
Dependencies
None
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
The CI passes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.