Skip to content

Commit 17618e9

Browse files
committed
add new package id test
1 parent 7e3e9fb commit 17618e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/crates/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ mod tests {
252252
.to_string(),
253253
sha: None
254254
}),
255+
"registry+https://github.com/rust-lang/crates.io-index#cookie@0.15.0" => Crate::Registry(RegistryCrate {
256+
name: "cookie".to_string(),
257+
version: "0.15.0".to_string(),
258+
}),
255259
}
256260

257261
assert!(Crate::try_from(&PackageId {

0 commit comments

Comments
 (0)