Skip to content

Commit 579e034

Browse files
committed
order of lits of binaries is not stable
1 parent c955c60 commit 579e034

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testsuite/run.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,10 @@ fn too_many_bins() {
275275

276276
assert_that(
277277
p.cargo("run"),
278+
// Using [..] here because the order is not stable
278279
execs().with_status(101).with_stderr(
279280
"[ERROR] `cargo run` could not determine which binary to run; set `default-run` \
280-
in the manifest or use the `--bin` option to specify\navailable binaries: a, b\n",
281+
in the manifest or use the `--bin` option to specify\navailable binaries: [..]\n",
281282
),
282283
);
283284
}

0 commit comments

Comments
 (0)