Skip to content

Commit 0034ea3

Browse files
committed
test(update): Show lack of message on old
1 parent b05dc26 commit 0034ea3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testsuite/update.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,8 @@ fn precise_yanked_multiple_presence() {
14801480

14811481
#[cargo_test]
14821482
fn report_behind() {
1483+
Package::new("two-ver", "0.1.0").publish();
1484+
Package::new("two-ver", "0.2.0").publish();
14831485
Package::new("pre", "1.0.0-alpha.0").publish();
14841486
Package::new("pre", "1.0.0-alpha.1").publish();
14851487
Package::new("breaking", "0.1.0").publish();
@@ -1495,6 +1497,8 @@ fn report_behind() {
14951497
[dependencies]
14961498
breaking = "0.1"
14971499
pre = "=1.0.0-alpha.0"
1500+
two-ver = "0.2.0"
1501+
two-ver-one = { version = "0.1.0", package = "two-ver" }
14981502
"#,
14991503
)
15001504
.file("src/lib.rs", "")

0 commit comments

Comments
 (0)