mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
test(gc): Update tests for latest stable
This commit is contained in:
parent
b4dee5dcf9
commit
7e0da417c0
@ -2004,16 +2004,7 @@ fn compatible_with_older_cargo() {
|
||||
assert_eq!(get_registry_names("src"), ["middle-1.0.0", "new-1.0.0"]);
|
||||
assert_eq!(
|
||||
get_registry_names("cache"),
|
||||
// Duplicate crates from two different cache location
|
||||
// because we're changing how SourceId is hashed.
|
||||
// This change should be reverted once rust-lang/cargo#14917 lands.
|
||||
[
|
||||
"middle-1.0.0.crate",
|
||||
"middle-1.0.0.crate",
|
||||
"new-1.0.0.crate",
|
||||
"new-1.0.0.crate",
|
||||
"old-1.0.0.crate"
|
||||
]
|
||||
["middle-1.0.0.crate", "new-1.0.0.crate", "old-1.0.0.crate"]
|
||||
);
|
||||
|
||||
// T-0 months: Current version, make sure it can read data from stable,
|
||||
@ -2036,10 +2027,7 @@ fn compatible_with_older_cargo() {
|
||||
assert_eq!(get_registry_names("src"), ["new-1.0.0"]);
|
||||
assert_eq!(
|
||||
get_registry_names("cache"),
|
||||
// Duplicate crates from two different cache location
|
||||
// because we're changing how SourceId is hashed.
|
||||
// This change should be reverted once rust-lang/cargo#14917 lands.
|
||||
["middle-1.0.0.crate", "new-1.0.0.crate", "new-1.0.0.crate"]
|
||||
["middle-1.0.0.crate", "new-1.0.0.crate"]
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user