Skip to content

Commit 59d05bc

Browse files
committed
test: refine stderr assertion for cargo vendor --respect-source-config output
1 parent bbe95a0 commit 59d05bc

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tests/testsuite/vendor.rs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,16 @@ fn vendor_summary_output() {
22772277
Package::new("bar", "0.1.0").publish();
22782278

22792279
p.cargo("vendor --respect-source-config")
2280-
.with_stderr_contains("[..]Vendored 1 crates into [..]vendor")
2280+
.with_stderr_data(str![[r#"
2281+
[UPDATING] `[..]` index
2282+
[LOCKING] 1 package to latest compatible version
2283+
[DOWNLOADING] crates ...
2284+
[DOWNLOADED] bar v0.1.0 (registry `[..]`)
2285+
Vendoring bar v0.1.0 ([..]bar-0.1.0) to vendor/bar
2286+
To use vendored sources, add this to your .cargo/config.toml for this project:
2287+
2288+
Vendored 1 crates into vendor
2289+
2290+
"#]])
22812291
.run();
22822292
}

0 commit comments

Comments
 (0)