From bca2f033f3b3f537857337de431bf11a2d1faca4 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 13 May 2026 14:58:09 +0300 Subject: test: decouple release manifest from source protocol --- src/update.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/update.rs') diff --git a/src/update.rs b/src/update.rs index 68528795..fdb3ec5e 100644 --- a/src/update.rs +++ b/src/update.rs @@ -986,10 +986,10 @@ mod tests { .expect("website/latest.json should match updater schema"); assert!(!manifest.notes_body().is_empty()); - assert_eq!( - manifest.protocol, - Some(crate::server::protocol::PROTOCOL_VERSION) - ); + // website/latest.json describes the latest released binaries, not the + // current unreleased checkout. Its protocol is updated by the release + // flow together with the release assets. + assert!(manifest.protocol.is_some()); assert_eq!(manifest.assets.len(), 4); for target in [ -- cgit v1.2.3