diff --git a/context/test-evidence/tooling.md b/context/test-evidence/tooling.md index 8d350768..cd8ff234 100644 --- a/context/test-evidence/tooling.md +++ b/context/test-evidence/tooling.md @@ -687,7 +687,7 @@ cannot see this rival. ### `every_crate_that_can_parse_json_enables_float_roundtrip` It replaces a check over three crates listed by hand. It reads -`cargo metadata --no-deps --locked` and fails naming every workspace package, and +`cargo metadata --no-deps` and fails naming every workspace package, and every target-specific entry, whose **normal** serde_json dependency lacks `float_roundtrip`. The rule and why it was chosen over the alternatives are in `context/code/protocol.md`. It is red at `1158c23`, naming `improvise`, diff --git a/tests/json_numbers.rs b/tests/json_numbers.rs index e11985fb..506a59ec 100644 --- a/tests/json_numbers.rs +++ b/tests/json_numbers.rs @@ -38,7 +38,7 @@ fn lossy_json_dependencies(metadata: &Value) -> (Vec, Vec) { fn every_crate_that_can_parse_json_enables_float_roundtrip() { let out = std::process::Command::new(env!("CARGO")) .current_dir(env!("CARGO_MANIFEST_DIR")) - .args(["metadata", "--no-deps", "--locked", "--format-version", "1"]) + .args(["metadata", "--no-deps", "--format-version", "1"]) .output() .expect("cargo metadata must run"); assert!(