Skip to content

Commit cffb8e0

Browse files
Copilotavifenesh
andcommitted
Fix linting issues by removing trailing whitespace from test functions
Co-authored-by: avifenesh <55848801+avifenesh@users.noreply.github.com>
1 parent 474713a commit cffb8e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

glide-core/redis-rs/redis/tests/test_cluster_async.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ mod cluster_async {
5656
) -> redis::RedisResult<redis::Value> {
5757
use futures_time::time::Duration;
5858
let mut delay_ms = 100u64;
59-
59+
6060
for attempt in 0..max_retries {
6161
let result = redis::cmd("PUBLISH")
6262
.arg(channel)
6363
.arg(message)
6464
.query_async(connection)
6565
.await;
66-
66+
6767
match result {
6868
Ok(redis::Value::Int(count)) if count == expected_count => {
6969
return Ok(redis::Value::Int(count));
@@ -81,7 +81,7 @@ mod cluster_async {
8181
Err(e) => return Err(e),
8282
}
8383
}
84-
84+
8585
// This should not be reached due to the loop logic above
8686
unreachable!()
8787
}
@@ -95,14 +95,14 @@ mod cluster_async {
9595
) -> redis::RedisResult<redis::Value> {
9696
use futures_time::time::Duration;
9797
let mut delay_ms = 100u64;
98-
98+
9999
for attempt in 0..max_retries {
100100
let result = redis::cmd("SPUBLISH")
101101
.arg(channel)
102102
.arg(message)
103103
.query_async(connection)
104104
.await;
105-
105+
106106
match result {
107107
Ok(redis::Value::Int(count)) if count == expected_count => {
108108
return Ok(redis::Value::Int(count));
@@ -120,7 +120,7 @@ mod cluster_async {
120120
Err(e) => return Err(e),
121121
}
122122
}
123-
123+
124124
// This should not be reached due to the loop logic above
125125
unreachable!()
126126
}

0 commit comments

Comments
 (0)