Skip to content

Commit af04ab9

Browse files
committed
more broken lockfile
1 parent 26c4c24 commit af04ab9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/prepare.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,11 @@ fn run_command(cmd: Command) -> anyhow::Result<()> {
164164
|| line.contains("error: cyclic package dependency: package ")
165165
{
166166
broken_deps = true;
167-
} else if line.contains("error: failed to parse lock file at") {
167+
} else if line.contains("error: failed to parse lock file at")
168+
|| line.contains(
169+
"error: Attempting to resolve a dependency with more than one crate with links=",
170+
)
171+
{
168172
broken_lockfile = true;
169173
}
170174
};

tests/buildtest/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ test_prepare_error_stderr!(
330330
"error: invalid type: map, expected a string"
331331
);
332332

333-
test_prepare_uncategorized_err!(
333+
test_prepare_error_stderr!(
334334
test_invalid_cargotoml_conflicting_links,
335335
"invalid-cargotoml-conflicting-links",
336336
InvalidCargoLock,

0 commit comments

Comments
 (0)