diff --git a/Cargo.toml b/Cargo.toml
index 502f30ffa3c..3de72d945c2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -229,6 +229,7 @@ features = [
]
[dev-dependencies]
+annotate-snippets = { workspace = true, features = ["testing-colors"] }
cargo-test-macro.workspace = true
cargo-test-support.workspace = true
same-file.workspace = true
diff --git a/tests/testsuite/cargo_add/invalid_manifest/stderr.term.svg b/tests/testsuite/cargo_add/invalid_manifest/stderr.term.svg
index 636a4075104..b3ca44189ba 100644
--- a/tests/testsuite/cargo_add/invalid_manifest/stderr.term.svg
+++ b/tests/testsuite/cargo_add/invalid_manifest/stderr.term.svg
@@ -19,19 +19,19 @@
- error: invalid string
+ error: invalid string
- expected `"`, `'`
+ expected `"`, `'`
- --> Cargo.toml:9:7
+ --> Cargo.toml:9:7
- |
+ |
- 9 | key = invalid-value
+ 9 | key = invalid-value
- | ^
+ | ^
- |
+ |