Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo clippy --tests #416

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: cargo fmt --all -- --check
- run: cargo clippy
- run: cargo clippy --tests
4 changes: 2 additions & 2 deletions tests/current_user_orgs_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ async fn setup_api(template: ResponseTemplate) -> MockServer {
let mock_server = MockServer::start().await;

Mock::given(method("GET"))
.and(path("/user/memberships/orgs".to_string()))
.and(path("/user/memberships/orgs"))
.respond_with(template)
.mount(&mock_server)
.await;
setup_error_handler(
&mock_server,
&"GET on /user/membership/orgs was not received".to_string(),
"GET on /user/membership/orgs was not received",
)
.await;
mock_server
Expand Down
Loading