You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #14200 - eth3lbert:snapbox-g, r=epage
test: migrate generate_lockfile and glob_targets to snapbox
### What does this PR try to resolve?
Part of #14039.
Migrate following to snapbox:
- `tests/testsuite/generate_lockfile.rs`
- `tests/testsuite/glob_targets.rs`
// should fail due to a duplicate package `common` in the lock file
233
244
b.cargo("build")
234
245
.with_status(101)
235
-
.with_stderr_contains(
236
-
"[..]package collision in the lockfile: packages common [..] and \
237
-
common [..] are different, but only one can be written to \
238
-
lockfile unambiguously",
239
-
)
246
+
.with_stderr_data(str![[r#"
247
+
[ERROR] package collision in the lockfile: packages common v0.0.1 ([ROOT]/a/common) and common v0.0.1 ([ROOT]/b/common) are different, but only one can be written to lockfile unambiguously
0 commit comments