Skip to content

Commit 8efee2b

Browse files
style: rustfmt connect_integration.rs
Signed-off-by: Jorge Gonzalez <jgonzalez@straw-hat.co> Signed-off-by: Jorge <jramirezhdez02@gmail.com>
1 parent d24cb0f commit 8efee2b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rsworkspace/crates/trogon-nats/tests/connect_integration.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ async fn connect_with_token_auth_succeeds_on_open_server() -> Result<(), Box<dyn
5858
/// Covers the `NatsAuth::UserPassword` arm (lines 107-114).
5959
#[tokio::test]
6060
#[ignore = "requires Docker"]
61-
async fn connect_with_user_password_succeeds_on_open_server(
62-
) -> Result<(), Box<dyn std::error::Error>> {
61+
async fn connect_with_user_password_succeeds_on_open_server()
62+
-> Result<(), Box<dyn std::error::Error>> {
6363
let (_container, port) = start_nats().await?;
6464

6565
let config = NatsConfig::new(
@@ -128,8 +128,8 @@ async fn connect_with_missing_credentials_file_returns_invalid_credentials() {
128128
/// `ConnectError::AuthorizationViolation` immediately instead of retrying forever.
129129
#[tokio::test]
130130
#[ignore = "requires Docker"]
131-
async fn connect_with_wrong_token_returns_authorization_violation(
132-
) -> Result<(), Box<dyn std::error::Error>> {
131+
async fn connect_with_wrong_token_returns_authorization_violation()
132+
-> Result<(), Box<dyn std::error::Error>> {
133133
let container = Nats::default()
134134
.with_cmd(["--auth", "correct-token"])
135135
.start()

0 commit comments

Comments
 (0)