making linters happy
Some checks failed
CI / Rust Blocking Checks (push) Failing after 22s
CI / Web Blocking Checks (push) Failing after 26s
CI / Security Blocking Checks (push) Successful in 9s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Has been cancelled
Some checks failed
CI / Rust Blocking Checks (push) Failing after 22s
CI / Web Blocking Checks (push) Failing after 26s
CI / Security Blocking Checks (push) Successful in 9s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Has been cancelled
This commit is contained in:
@@ -892,7 +892,7 @@ async fn test_port_range() {
|
||||
|
||||
let worker = WorkerRepository::create(&pool, input)
|
||||
.await
|
||||
.expect(&format!("Failed to create worker with port {}", port));
|
||||
.unwrap_or_else(|_| panic!("Failed to create worker with port {}", port));
|
||||
|
||||
assert_eq!(worker.port, Some(port));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user