Skip to content

Commit

Permalink
test(lockfile): v4 isn't the default for rust-version 1.77
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Jan 30, 2024
1 parent b63763b commit 2e79c14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testsuite/lockfile_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ dependencies = [
("1.37", Some(1), 1),
("1.37", Some(2), 2),
("1.37", Some(3), 3),
("1.37", Some(4), 4),
// v2 introduced
("1.38", None, 1),
// last version of v1 as the default
Expand All @@ -1227,6 +1228,7 @@ dependencies = [
("1.41", Some(1), 1),
("1.41", Some(2), 2),
("1.41", Some(3), 3),
("1.41", Some(4), 4),
// v3 introduced
("1.47", None, 2),
// last version of v2 as the default
Expand All @@ -1236,6 +1238,9 @@ dependencies = [
("1.53", Some(1), 1),
("1.53", Some(2), 2),
("1.53", Some(3), 3),
("1.53", Some(4), 4),
// v4 introduced
("1.77", None, 3),
];

for (msrv, existing_lockfile, expected_version) in cases {
Expand Down

0 comments on commit 2e79c14

Please sign in to comment.