From 21b66247a8ad5b33ede56ae65364ffe75be56913 Mon Sep 17 00:00:00 2001 From: GF Date: Wed, 22 Jul 2026 10:50:39 -0400 Subject: [PATCH] test: update 0.7.5 release fixtures --- xtask/src/release_commands/tests/orchestration.rs | 4 ++-- xtask/src/semver/tests.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xtask/src/release_commands/tests/orchestration.rs b/xtask/src/release_commands/tests/orchestration.rs index 7191b8bc..a2c38a4b 100644 --- a/xtask/src/release_commands/tests/orchestration.rs +++ b/xtask/src/release_commands/tests/orchestration.rs @@ -80,12 +80,12 @@ fn release_integrity_publish_mode_accepts_hermetic_final_metadata() { } std::fs::write( release_root.join("Cargo.toml"), - "[workspace.package]\nversion = \"0.7.4\"\n\n[patch.crates-io]\nblock = { path = \"third_party/block-0.1.6-patched\" }\n", + "[workspace.package]\nversion = \"0.7.5\"\n\n[patch.crates-io]\nblock = { path = \"third_party/block-0.1.6-patched\" }\n", ) .expect("write workspace manifest fixture"); std::fs::write( release_root.join("CHANGELOG.md"), - "# Changelog\n\n## [0.7.4] - 2026-07-16\n", + "# Changelog\n\n## [0.7.5] - 2026-07-22\n", ) .expect("write finalized changelog fixture"); std::fs::write( diff --git a/xtask/src/semver/tests.rs b/xtask/src/semver/tests.rs index 136c7e43..fc88394b 100644 --- a/xtask/src/semver/tests.rs +++ b/xtask/src/semver/tests.rs @@ -157,10 +157,10 @@ fn semver_checks_commands_use_the_pinned_rustup_toolchain() { } #[test] -fn source_incompatible_patch_exception_is_scoped_to_0_7_4() { +fn source_incompatible_patch_exception_is_scoped_to_0_7_5() { let mut diff = PackageApiDiff { package: "alpha".to_string(), - candidate_version: "0.7.4".to_string(), + candidate_version: "0.7.5".to_string(), release_type: Some(ReleaseType::Minor), baseline_count: 1, candidate_count: 0, @@ -171,7 +171,7 @@ fn source_incompatible_patch_exception_is_scoped_to_0_7_4() { hidden: BTreeSet::new(), }; assert_eq!(semver_check_release_type(&diff), ReleaseType::Major); - diff.candidate_version = "0.7.5".to_string(); + diff.candidate_version = "0.7.6".to_string(); assert_eq!(semver_check_release_type(&diff), ReleaseType::Minor); }