Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bazelbuild/rules_rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6a1e56d773be2c62b644d82624d1504cd7ce406b
Choose a base ref
..
head repository: bazelbuild/rules_rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 501b50afda2fdceea842876e9b8a0cd72b9f0f6b
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 crate_universe/src/metadata.rs
4 changes: 2 additions & 2 deletions crate_universe/src/metadata.rs
Original file line number Diff line number Diff line change
@@ -361,7 +361,7 @@ mod test {

#[test]
fn deserialize_cargo_update_request_for_eager() {
for value in ["1", "yes", "true", "on"] {
for value in ["all", "full", "eager"] {
let request = CargoUpdateRequest::from_str(value).unwrap();

assert_eq!(request, CargoUpdateRequest::Eager);
@@ -370,7 +370,7 @@ mod test {

#[test]
fn deserialize_cargo_update_request_for_workspace() {
for value in ["workspace", "minimal"] {
for value in ["1", "true", "yes", "on", "workspace", "minimal"] {
let request = CargoUpdateRequest::from_str(value).unwrap();

assert_eq!(request, CargoUpdateRequest::Workspace);