Skip to content

Commit

Permalink
removed clippy tokio lint exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBeilschmidt committed Dec 21, 2021
1 parent 5781d97 commit ab520e3
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion operators/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rustc-hash = { version = "1.0", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
snafu = "0.6"
tokio = { version = "1.1", features = ["macros", "signal", "sync", "rt-multi-thread"] }
tokio = { version = "1.15", features = ["macros", "signal", "sync", "rt-multi-thread"] }
typetag = "0.1"
uuid = { version = "0.8", features = ["serde", "v4", "v5"] }

Expand Down
2 changes: 1 addition & 1 deletion services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ serde_with = "1.9"
snafu = "0.6"
strum = { version = "0.23", features = ["derive"] }
time = "0.3"
tokio = { version = "1.1", features = ["macros", "fs", "signal", "sync", "rt-multi-thread"] }
tokio = { version = "1.15", features = ["macros", "fs", "signal", "sync", "rt-multi-thread"] }
tokio-util = "0.6"
typetag = "0.1"
url = { version = "2.2", features = ["serde"] }
Expand Down
4 changes: 0 additions & 4 deletions services/src/handlers/projects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn create() {
let res = create_test_helper(Method::POST).await;

Expand Down Expand Up @@ -447,8 +445,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn load() {
let res = load_test_helper(Method::GET).await;

Expand Down
2 changes: 0 additions & 2 deletions services/src/handlers/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn anonymous() {
let res = anonymous_test_helper(Method::POST).await;

Expand Down
2 changes: 0 additions & 2 deletions services/src/handlers/workflows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn register() {
let res = register_test_helper(Method::POST).await;

Expand Down
2 changes: 0 additions & 2 deletions services/src/pro/handlers/projects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn versions() {
let res = versions_test_helper(Method::GET).await;

Expand Down
4 changes: 0 additions & 4 deletions services/src/pro/handlers/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn register() {
let ctx = ProInMemoryContext::default();

Expand Down Expand Up @@ -424,8 +422,6 @@ mod tests {
}

#[tokio::test]
// TODO: remove when https://github.com/tokio-rs/tokio/issues/4245 is fixed
#[allow(clippy::semicolon_if_nothing_returned)]
async fn login() {
let res = login_test_helper(Method::POST, "secret123").await;

Expand Down

0 comments on commit ab520e3

Please sign in to comment.