Skip to content

Commit 712aeb7

Browse files
authored
test: Enable colors in more assertions (#523)
The latest releases of `assert_cmd` and `assert_fs` make it easier to see content by indenting multi-line content and by adding color support. For now its opt-in.
1 parent c8fd3e9 commit 712aeb7

File tree

2 files changed

+38
-9
lines changed

2 files changed

+38
-9
lines changed

Cargo.lock

Lines changed: 35 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ features = ["serde"]
7575
version = "1.0.0"
7676

7777
[dev-dependencies]
78-
predicates = "2.0"
79-
assert_cmd = "2.0.1"
80-
assert_fs = "1.0.5"
78+
predicates = { version = "2.0.3", features = ["color-auto"] }
79+
assert_cmd = { version = "2.0.2", features = ["color-auto"] }
80+
assert_fs = { version = "1.0.6", features = ["color-auto"] }
8181
pretty_assertions = "0.6.1"
8282

8383
[features]

0 commit comments

Comments
 (0)