Skip to content

Commit 5d18f44

Browse files
committed
fix: format code and add missing dev dependencies
- Fix formatting in cli_basic_tests.rs - Add wiremock, tokio, serde_json to dev-dependencies - Update Cargo.lock
1 parent 14f7284 commit 5d18f44

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/redisctl/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ predicates = "3.0"
7676
tempfile = "3.8"
7777
criterion = "0.5"
7878
serial_test = "3.1"
79+
wiremock = { workspace = true }
80+
tokio = { workspace = true }
81+
serde_json = { workspace = true }
7982

8083
[[bench]]
8184
name = "api_performance"

crates/redisctl/tests/cli_basic_tests.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ fn test_help_flag() {
1212
.arg("--help")
1313
.assert()
1414
.success()
15-
.stdout(predicate::str::contains(
16-
"Redis management CLI",
17-
))
15+
.stdout(predicate::str::contains("Redis management CLI"))
1816
.stdout(predicate::str::contains("EXAMPLES:"));
1917
}
2018

0 commit comments

Comments
 (0)