Drop --locked from the float_roundtrip check: --no-deps never reads the lockfile

Review of #202 showed `cargo metadata --no-deps --locked` exits 0 against a
stale lockfile, so the flag promised a check it does not make.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
This commit is contained in:
Edward Langley
2026-09-22 22:57:58 -07:00
parent 6b3b9f03de
commit aadf5ddd35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ fn lossy_json_dependencies(metadata: &Value) -> (Vec<String>, Vec<String>) {
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!(