Skip to content

Commit e7f1009

Browse files
committed
test(update): Latest alpha is shown
1 parent 47a006e commit e7f1009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testsuite/update.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,7 @@ fn precise_yanked_multiple_presence() {
14781478
fn report_behind() {
14791479
Package::new("breaking", "0.1.0").publish();
14801480
Package::new("breaking", "0.2.0").publish();
1481+
Package::new("breaking", "0.2.1-alpha.0").publish();
14811482
let p = project()
14821483
.file(
14831484
"Cargo.toml",
@@ -1499,7 +1500,7 @@ fn report_behind() {
14991500
.with_stderr(
15001501
"\
15011502
[UPDATING] `dummy-registry` index
1502-
[UPDATING] breaking v0.1.0 -> v0.1.1 (latest: v0.2.0)
1503+
[UPDATING] breaking v0.1.0 -> v0.1.1 (latest: v0.2.1-alpha.0)
15031504
",
15041505
)
15051506
.run();

0 commit comments

Comments
 (0)