mirror of
https://github.com/rust-lang/cargo
synced 2024-09-13 21:11:44 +00:00
test: fix tests to assert unxpected querystrring error
This commit is contained in:
parent
99b4a49530
commit
eacdfd2917
|
@ -641,12 +641,12 @@ mod tests {
|
||||||
ErrorKind::UnexpectedQueryString(_)
|
ErrorKind::UnexpectedQueryString(_)
|
||||||
);
|
);
|
||||||
err!(
|
err!(
|
||||||
"registry+https://github.com/rust-lang/cargo#0.52.0?branch=dev",
|
"registry+https://github.com/rust-lang/cargo?branch=dev#0.52.0",
|
||||||
ErrorKind::PartialVersion(_)
|
ErrorKind::UnexpectedQueryString(_)
|
||||||
);
|
);
|
||||||
err!(
|
err!(
|
||||||
"sparse+https://github.com/rust-lang/cargo#0.52.0?branch=dev",
|
"sparse+https://github.com/rust-lang/cargo?branch=dev#0.52.0",
|
||||||
ErrorKind::PartialVersion(_)
|
ErrorKind::UnexpectedQueryString(_)
|
||||||
);
|
);
|
||||||
err!("@1.2.3", ErrorKind::NameValidation(_));
|
err!("@1.2.3", ErrorKind::NameValidation(_));
|
||||||
err!("registry+https://github.com", ErrorKind::NameValidation(_));
|
err!("registry+https://github.com", ErrorKind::NameValidation(_));
|
||||||
|
|
Loading…
Reference in a new issue